Fixed a potential XSS
This commit is contained in:
parent
a51fc6ba74
commit
2c59d5a783
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
if(trim(mysql_real_escape_string(stripslashes($_REQUEST['newemail']))) == "")
|
if(trim(mysql_real_escape_string(stripslashes($_REQUEST['newemail']))) == "")
|
||||||
{
|
{
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Not a valid email address. Can't continue."), $_REQUEST['email']);
|
printf(_("Not a valid email address. Can't continue."));
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue