aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-03-06 17:41:13 +0000
committerlpsolit%gmail.com <>2007-03-06 17:41:13 +0000
commitaa4cacfd7b283193e36a6a85bdfb8f93749108a5 (patch)
tree93ef61ae37e090e1f30cf1717116f3a90fb3059f /post_bug.cgi
parentBug 354627: Improve the UI for adding/removing inheritance in editgroups.cgi (diff)
downloadbugzilla-aa4cacfd7b283193e36a6a85bdfb8f93749108a5.tar.gz
bugzilla-aa4cacfd7b283193e36a6a85bdfb8f93749108a5.tar.bz2
bugzilla-aa4cacfd7b283193e36a6a85bdfb8f93749108a5.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();