From cc6488a1aa37b2b745496aa2619c5ea63f1318fc Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 11 Mar 2006 09:11:43 +0000 Subject: [PATCH] =?utf8?q?Bug=20329334:=20User::match=5Ffield()=20may=20re?= =?utf8?q?direct=20you=20outside=20your=20Bugzilla=20installation=20-=20Pa?= =?utf8?q?tch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r?= =?utf8?q?/a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 7f2bff4c53..226c1e15c9 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -982,7 +982,7 @@ sub match_field { # Skip confirmation if we were told to, or if we don't need to confirm. return $retval if ($behavior == MATCH_SKIP_CONFIRM || !$need_confirm); - $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 -- 2.47.2