diff options
author | jake%acutex.net <> | 2001-10-12 04:51:33 +0200 |
---|---|---|
committer | jake%acutex.net <> | 2001-10-12 04:51:33 +0200 |
commit | fb4981afba21ff354de0de17bacf3844348f14a0 (patch) | |
tree | a3eecac6c3a022d044c78329338b64ecddce33f9 | |
parent | fe07308ba08eeb17b99f33c0a1cc19d89c010afb (diff) | |
download | bugzilla-fb4981afba21ff354de0de17bacf3844348f14a0.tar.gz bugzilla-fb4981afba21ff354de0de17bacf3844348f14a0.tar.xz |
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 <kiko@async.com.br>
r= jake@acutex.net
-rw-r--r-- | CGI.pl | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1395,11 +1395,12 @@ Edit <a href="userprefs.cgi">prefs</a> 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 .= "<A HREF=\"buglist.cgi?cmdtype=runnamed&namedcmd=" . - url_quote($name) . "\">$name</A>\n"; + url_quote($name) . "\">$disp_name</A>\n"; } $html .= "</TD></TR>\n"; } else { |