summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/index.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 66134e1..3a15567 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -66,7 +66,7 @@ sub handle_request {
sub shorten_destination {
my ( $dest, $city ) = @_;
- $dest =~ s{ ^ $city \s }{}x;
+ $dest =~ s{ ^ $city \s }{}ix;
if ( length($dest) > 20 ) {
$dest =~ s{^Dortmund}{DO}