Commit fb4981af authored by jake%acutex.net's avatar jake%acutex.net

Fix for bug 104180 -   should only be used in the display for a saved query…

Fix for bug 104180 - &nbsp; 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
parent fe07308b
......@@ -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/ /&nbsp;/g;
if ($anynamedqueries || $mybugslink) { $html .= " | " }
$anynamedqueries = 1;
$name =~ s/ /&nbsp;/g;
$html .= "<A HREF=\"buglist.cgi?cmdtype=runnamed&amp;namedcmd=" .
url_quote($name) . "\">$name</A>\n";
url_quote($name) . "\">$disp_name</A>\n";
}
$html .= "</TD></TR>\n";
} else {
......
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