diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-11-11 11:51:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-11-11 11:51:32 +0100 |
commit | 985f96b0f11c6b7793361a3f1fe34ab3f915cecb (patch) | |
tree | aad45640a9fc0b516cad9ca26a2075548855ad60 /cgi | |
parent | 4dec7f383e0967c04f71bc2c373cb712a662361e (diff) |
cgi: shsorten_destination: Use case-insensitive regex
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/index.pl | 2 |
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} |