From: lpsolit%gmail.com <> Date: Tue, 6 Mar 2007 17:43:01 +0000 (+0000) Subject: Bug 372723: Bookmarkable template URLs on enter_bug.cgi should not contain tokens... X-Git-Tag: bugzilla-3.0~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0f48c7dad1d20ffbdef05b04896ed8dffceac74;p=thirdparty%2Fbugzilla.git Bug 372723: Bookmarkable template URLs on enter_bug.cgi should not contain tokens - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/post_bug.cgi b/post_bug.cgi index c471fd23a7..f755934ae1 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -90,7 +90,7 @@ if ($token) { }); if (defined $cgi->param('maketemplate')) { - $vars->{'url'} = $cgi->query_string(); + $vars->{'url'} = $cgi->canonicalise_query('token'); $vars->{'short_desc'} = $cgi->param('short_desc'); print $cgi->header();