aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-03-06 17:43:01 +0000
committerlpsolit%gmail.com <>2007-03-06 17:43:01 +0000
commitd0f48c7dad1d20ffbdef05b04896ed8dffceac74 (patch)
tree2d94bbdf3554c7d6848edcfcab792d618da2f32d /post_bug.cgi
parentBug 371833 - ""Edit attachment as comment" could be twice as fast" [p=bz/reed... (diff)
downloadbugzilla-d0f48c7dad1d20ffbdef05b04896ed8dffceac74.tar.gz
bugzilla-d0f48c7dad1d20ffbdef05b04896ed8dffceac74.tar.bz2
bugzilla-d0f48c7dad1d20ffbdef05b04896ed8dffceac74.zip
Bug 372723: Bookmarkable template URLs on enter_bug.cgi should not contain tokens - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
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();