From: jake%acutex.net <> Date: Fri, 12 Oct 2001 02:51:33 +0000 (+0000) Subject: Fix for bug 104180 -   should only be used in the display for a saved query... X-Git-Tag: bugzilla-2.14.1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb4981afba21ff354de0de17bacf3844348f14a0;p=thirdparty%2Fbugzilla.git Fix for bug 104180 -   should only be used in the display for a saved query w/a space, not in the URL. Patch by Christian Reis r= jake@acutex.net --- diff --git a/CGI.pl b/CGI.pl index e51240e0b7..42b0c4af6d 100644 --- a/CGI.pl +++ b/CGI.pl @@ -1395,11 +1395,12 @@ Edit prefs my $anynamedqueries = 0; while (MoreSQLData()) { my ($name) = (FetchSQLData()); + my $disp_name = $name; + $disp_name =~ s/ / /g; if ($anynamedqueries || $mybugslink) { $html .= " | " } $anynamedqueries = 1; - $name =~ s/ / /g; $html .= "$name\n"; + url_quote($name) . "\">$disp_name\n"; } $html .= "\n"; } else {