Commit 573ea7b8 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 480858: Change Columns fails to escape search name when re-running saved…

Bug 480858: Change Columns fails to escape search name when re-running saved search - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=bbaetz a=LpSolit
parent e43d323b
......@@ -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')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment