зеркало из https://github.com/mozilla/pjs.git
Bug 147486 - Fixes cross site scripting issues; first checked in on the 2.14.1 branch, but I forgot the 2.16 branch/trunk (thanks bbaetz); patch=preed, r=bbaetz,myk
This commit is contained in:
Родитель
06c900c6a8
Коммит
06859d2a12
|
@ -343,7 +343,7 @@ if ($action eq 'list') {
|
|||
$s = "<STRIKE>";
|
||||
$e = "</STRIKE>";
|
||||
}
|
||||
$realname ||= "<FONT COLOR=\"red\">missing</FONT>";
|
||||
$realname = ($realname ? html_quote($realname) : "<FONT COLOR=\"red\">missing</FONT>");
|
||||
print "<TR>\n";
|
||||
print " <TD VALIGN=\"top\"><A HREF=\"editusers.cgi?action=edit&user=", url_quote($user), "\"><B>$s$user$e</B></A></TD>\n";
|
||||
print " <TD VALIGN=\"top\">$s$realname$e</TD>\n";
|
||||
|
@ -542,7 +542,7 @@ if ($action eq 'del') {
|
|||
WHERE login_name=" . SqlQuote($user));
|
||||
my ($realname, $groupset) =
|
||||
FetchSQLData();
|
||||
$realname ||= "<FONT COLOR=\"red\">missing</FONT>";
|
||||
$realname = ($realname ? html_quote($realname) : "<FONT COLOR=\"red\">missing</FONT>");
|
||||
|
||||
print "<TABLE BORDER=1 CELLPADDING=4 CELLSPACING=0>\n";
|
||||
print "<TR BGCOLOR=\"#6666FF\">\n";
|
||||
|
|
Загрузка…
Ссылка в новой задаче