From aa4cacfd7b283193e36a6a85bdfb8f93749108a5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 6 Mar 2007 17:41:13 +0000 Subject: Bug 372723: Bookmarkable template URLs on enter_bug.cgi should not contain tokens - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- post_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post_bug.cgi') diff --git a/post_bug.cgi b/post_bug.cgi index c471fd23a..f755934ae 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(); -- cgit v1.2.3-24-g4f1b