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:
parent
810a0b1783
commit
c86ae74710
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue