diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-27 18:09:07 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-27 18:09:07 +0200 |
commit | e04a9d2f9b867c7f341790bddbe09afdf15404da (patch) | |
tree | 735c9351d018fecc763ac2ee4f562ad7d9c03070 /buglist.cgi | |
parent | Update the release info in the doc. 4.3.1 has already been released! (diff) | |
download | bugzilla-e04a9d2f9b867c7f341790bddbe09afdf15404da.tar.gz bugzilla-e04a9d2f9b867c7f341790bddbe09afdf15404da.tar.bz2 bugzilla-e04a9d2f9b867c7f341790bddbe09afdf15404da.zip |
Bug 768870: The "Un-forget the search" link has no token
r=glob a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index 94e04ba37..13a2ef043 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; |