From 573ea7b8b5bfaa6bda751e31fd50954c2ee22b39 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 1 Mar 2009 21:54:34 +0000 Subject: =?UTF-8?q?Bug=20480858:=20Change=20Columns=20fails=20to=20escape?= =?UTF-8?q?=20search=20name=20when=20re-running=20saved=20search=20-=20Pat?= =?UTF-8?q?ch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dbbaetz=20a=3DLpSolit?= 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.1