From b3ff509cbf6ec4d308cf3ff3adb5c3e2e2c032d3 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Wed, 27 Jun 2012 16:16:21 +0000 Subject: [PATCH] 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 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/buglist.cgi | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 3ae4267f562..77ea9c93aec 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8277 \ No newline at end of file +8278 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/buglist.cgi b/mozilla/webtools/bugzilla/buglist.cgi index 94e04ba376c..13a2ef043c7 100755 --- a/mozilla/webtools/bugzilla/buglist.cgi +++ b/mozilla/webtools/bugzilla/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;