diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm index 1c84d048c..6e248d9e0 100644 --- a/Bugzilla/Product.pm +++ b/Bugzilla/Product.pm @@ -1125,7 +1125,7 @@ sub choose_product { $target = $ENV{REQUEST_URI}; $target =~ s/\?.*//so; - $target =~ s/^\/+//so; + $target =~ s!^/+!/!so; } my $vars = { target => $target,