aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-06-27 18:09:07 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-06-27 18:09:07 +0200
commite04a9d2f9b867c7f341790bddbe09afdf15404da (patch)
tree735c9351d018fecc763ac2ee4f562ad7d9c03070 /buglist.cgi
parentUpdate the release info in the doc. 4.3.1 has already been released! (diff)
downloadbugzilla-e04a9d2f9b867c7f341790bddbe09afdf15404da.tar.gz
bugzilla-e04a9d2f9b867c7f341790bddbe09afdf15404da.tar.bz2
bugzilla-e04a9d2f9b867c7f341790bddbe09afdf15404da.zip
Bug 768870: The "Un-forget the search" link has no token
r=glob a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 94e04ba37..13a2ef043 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -422,7 +422,9 @@ if ($cmdtype eq "dorem") {
# Generate and return the UI (HTML page) from the appropriate template.
$vars->{'message'} = "buglist_query_gone";
$vars->{'namedcmd'} = $qname;
- $vars->{'url'} = "buglist.cgi?newquery=" . url_quote($buffer) . "&cmdtype=doit&remtype=asnamed&newqueryname=" . url_quote($qname);
+ $vars->{'url'} = "buglist.cgi?newquery=" . url_quote($buffer)
+ . "&cmdtype=doit&remtype=asnamed&newqueryname=" . url_quote($qname)
+ . "&token=" . url_quote(issue_hash_token(['savedsearch']));
$template->process("global/message.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;