зеркало из https://github.com/mozilla/pjs.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 <kiko@async.com.br> r= jake@acutex.net
This commit is contained in:
Родитель
1b82b56dc3
Коммит
1a40034281
|
@ -1395,11 +1395,12 @@ Edit <a href="userprefs.cgi">prefs</a>
|
||||||
my $anynamedqueries = 0;
|
my $anynamedqueries = 0;
|
||||||
while (MoreSQLData()) {
|
while (MoreSQLData()) {
|
||||||
my ($name) = (FetchSQLData());
|
my ($name) = (FetchSQLData());
|
||||||
|
my $disp_name = $name;
|
||||||
|
$disp_name =~ s/ / /g;
|
||||||
if ($anynamedqueries || $mybugslink) { $html .= " | " }
|
if ($anynamedqueries || $mybugslink) { $html .= " | " }
|
||||||
$anynamedqueries = 1;
|
$anynamedqueries = 1;
|
||||||
$name =~ s/ / /g;
|
|
||||||
$html .= "<A HREF=\"buglist.cgi?cmdtype=runnamed&namedcmd=" .
|
$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";
|
$html .= "</TD></TR>\n";
|
||||||
} else {
|
} else {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче