bug 2750 fixed: HTML-sanitize $_POST['username_or_email'] before display (both
username and email don't allow HTML tags...) Original report by Stefan Schurtz via Secunia SVCRP git-svn-id: http://piwigo.org/svn/branches/2.4@17983 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
b43df041d4
commit
8ec14404d1
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ if ('lost' == $page['action'])
|
|||
|
||||
if (isset($_POST['username_or_email']))
|
||||
{
|
||||
$template->assign('username_or_email', stripslashes($_POST['username_or_email']));
|
||||
$template->assign('username_or_email', stripslashes(strip_tags($_POST['username_or_email'])));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue