summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index 5591d30..df3e870 100644
--- a/index.pl
+++ b/index.pl
@@ -590,6 +590,14 @@ get '/_redirect' => sub {
$suffix = '.html';
}
+ if ( $city
+ and $params->param('backend')
+ and $params->param('backend') !~ m{ ^ ( efa | vrr ) }x )
+ {
+ $stop = "$city $stop";
+ $city = undef;
+ }
+
my $params_s = $params->to_string;
if ($city) {