From 573ea7b8b5bfaa6bda751e31fd50954c2ee22b39 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 1 Mar 2009 21:54:34 +0000 Subject: Bug 480858: Change Columns fails to escape search name when re-running saved search - Patch by Frédéric Buclin r=bbaetz a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- colchange.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/colchange.cgi b/colchange.cgi index 5c44df3ed..532bfd4b6 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -29,6 +29,7 @@ use lib qw(. lib); use Bugzilla; use Bugzilla::Constants; +use Bugzilla::Util; use Bugzilla::CGI; use Bugzilla::Search::Saved; use Bugzilla::Error; @@ -185,7 +186,7 @@ if (defined $cgi->param('query_based_on')) { if ($search) { $vars->{'saved_search'} = $search; - $vars->{'buffer'} = "cmdtype=runnamed&namedcmd=".$search->name; + $vars->{'buffer'} = "cmdtype=runnamed&namedcmd=". url_quote($search->name); my $params = new Bugzilla::CGI($search->url); if ($params->param('columnlist')) { -- cgit v1.2.3-24-g4f1b