diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-27 18:12:10 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-06-27 18:12:10 +0200 |
commit | efc962773a2c6d19288f2b87e02cdb2bc7affefd (patch) | |
tree | 3b6a95339560962de871b7a0030750b5e3abc324 | |
parent | 9b3041428e1e2d7fb1d7ff02ff8023bf6fe33b0d (diff) | |
download | bugzilla-efc962773a2c6d19288f2b87e02cdb2bc7affefd.tar.gz bugzilla-efc962773a2c6d19288f2b87e02cdb2bc7affefd.tar.xz |
Bug 768870: The "Un-forget the search" link has no token
r=glob a=LpSolit
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index fcd268959..1029f0fe7 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -452,7 +452,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; |