From 1a40034281b36849327ebc341f1710160e3ea96f Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" Date: Thu, 11 Oct 2001 19:51:33 +0000 Subject: [PATCH] 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 --- webtools/bugzilla/CGI.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webtools/bugzilla/CGI.pl b/webtools/bugzilla/CGI.pl index e51240e0b70..42b0c4af6da 100644 --- a/webtools/bugzilla/CGI.pl +++ b/webtools/bugzilla/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 {