From: Frédéric Buclin Date: Wed, 27 Jun 2012 16:09:07 +0000 (+0200) Subject: Bug 768870: The "Un-forget the search" link has no token X-Git-Tag: bugzilla-4.3.2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04a9d2f9b867c7f341790bddbe09afdf15404da;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 94e04ba376..13a2ef043c 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;