mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-03 12:02:51 +02:00
Bug 1621 fixed : CSS vulnerability in register.php
login and mail_address fields must be filtered with htmlspecialchars. merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.0@5937 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -76,8 +76,8 @@ $template->assign(array(
|
||||
'U_HOME' => make_index_url(),
|
||||
|
||||
'F_ACTION' => 'register.php',
|
||||
'F_LOGIN' => $login,
|
||||
'F_EMAIL' => $email
|
||||
'F_LOGIN' => htmlspecialchars($login, ENT_QUOTES, 'utf-8'),
|
||||
'F_EMAIL' => htmlspecialchars($email, ENT_QUOTES, 'utf-8')
|
||||
));
|
||||
|
||||
//-------------------------------------------------------------- errors display
|
||||
|
||||
Reference in New Issue
Block a user