Commit aa4cacfd authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 372723: Bookmarkable template URLs on enter_bug.cgi should not contain…

Bug 372723: Bookmarkable template URLs on enter_bug.cgi should not contain tokens - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent fd5be728
...@@ -90,7 +90,7 @@ if ($token) { ...@@ -90,7 +90,7 @@ if ($token) {
}); });
if (defined $cgi->param('maketemplate')) { if (defined $cgi->param('maketemplate')) {
$vars->{'url'} = $cgi->query_string(); $vars->{'url'} = $cgi->canonicalise_query('token');
$vars->{'short_desc'} = $cgi->param('short_desc'); $vars->{'short_desc'} = $cgi->param('short_desc');
print $cgi->header(); print $cgi->header();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment