mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
merge r3184 backport from trunk to branch 2.0
bug 933 fixed : quick fix to prevent html injection git-svn-id: http://piwigo.org/svn/branches/2.0@3214 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -46,7 +46,7 @@ if (isset($_POST['submit']))
|
||||
}
|
||||
|
||||
$errors =
|
||||
register_user($_POST['login'],
|
||||
register_user(htmlspecialchars($_POST['login'],ENT_COMPAT,'utf-8'),
|
||||
$_POST['password'],
|
||||
$_POST['mail_address'],
|
||||
true,
|
||||
|
||||
Reference in New Issue
Block a user