Fix choose_product target uri when bugzilla is not in root

hinted-selects
Vitaliy Filippov 2014-10-31 19:51:02 +03:00
parent d5e23f9121
commit 697930623b
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ sub choose_product
{
$target = $ENV{REQUEST_URI};
$target =~ s/\?.*//so;
$target =~ s/^\/+//so;
$target =~ s!^/+!/!so;
}
my $vars = {
target => $target,