Commit e04a9d2f authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 768870: The "Un-forget the search" link has no token

r=glob a=LpSolit
parent 7acd5d0a
...@@ -422,7 +422,9 @@ if ($cmdtype eq "dorem") { ...@@ -422,7 +422,9 @@ if ($cmdtype eq "dorem") {
# Generate and return the UI (HTML page) from the appropriate template. # Generate and return the UI (HTML page) from the appropriate template.
$vars->{'message'} = "buglist_query_gone"; $vars->{'message'} = "buglist_query_gone";
$vars->{'namedcmd'} = $qname; $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) $template->process("global/message.html.tmpl", $vars)
|| ThrowTemplateError($template->error()); || ThrowTemplateError($template->error());
exit; exit;
......
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