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

r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2012-06-27 16:16:21 +00:00
parent 7a6014c900
commit b3ff509cbf
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
8277
8278

View File

@ -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;