summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-03-06 18:41:13 +0100
committerlpsolit%gmail.com <>2007-03-06 18:41:13 +0100
commitaa4cacfd7b283193e36a6a85bdfb8f93749108a5 (patch)
tree93ef61ae37e090e1f30cf1717116f3a90fb3059f /post_bug.cgi
parentfd5be728fcf18479146aab4d52254c3475124154 (diff)
downloadbugzilla-aa4cacfd7b283193e36a6a85bdfb8f93749108a5.tar.gz
bugzilla-aa4cacfd7b283193e36a6a85bdfb8f93749108a5.tar.xz
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();