Commit a17c8940 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 329334: User::match_field() may redirect you outside your Bugzilla…

Bug 329334: User::match_field() may redirect you outside your Bugzilla installation - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
parent c11e84ce
......@@ -1060,7 +1060,7 @@ sub match_field {
my $template = Bugzilla->template;
my $vars = {};
$vars->{'script'} = $ENV{'SCRIPT_NAME'}; # for self-referencing URLs
$vars->{'script'} = Bugzilla->cgi->url(-relative => 1); # for self-referencing URLs
$vars->{'fields'} = $fields; # fields being matched
$vars->{'matches'} = $matches; # matches that were made
$vars->{'matchsuccess'} = $matchsuccess; # continue or fail
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment