From: Frédéric Buclin Date: Wed, 27 Jun 2012 16:13:39 +0000 (+0200) Subject: Bug 768870: The "Un-forget the search" link has no token X-Git-Tag: bugzilla-4.0.7~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bab734194fb02620cf49ff4a00916b164c4695af;p=thirdparty%2Fbugzilla.git Bug 768870: The "Un-forget the search" link has no token r=glob a=LpSolit --- diff --git a/buglist.cgi b/buglist.cgi index 277d2c7548..28e21a6d70 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -477,7 +477,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;