summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-06-27 18:12:10 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-06-27 18:12:10 +0200
commitefc962773a2c6d19288f2b87e02cdb2bc7affefd (patch)
tree3b6a95339560962de871b7a0030750b5e3abc324 /buglist.cgi
parent9b3041428e1e2d7fb1d7ff02ff8023bf6fe33b0d (diff)
downloadbugzilla-efc962773a2c6d19288f2b87e02cdb2bc7affefd.tar.gz
bugzilla-efc962773a2c6d19288f2b87e02cdb2bc7affefd.tar.xz
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 fcd268959..1029f0fe7 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -452,7 +452,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;