diff options
author | nikrou <nikrou@piwigo.org> | 2009-03-19 19:29:03 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-03-19 19:29:03 +0000 |
commit | c86ae74710a1f5469ef104f2fd9667c80c19f25d (patch) | |
tree | 8886b764bdd72e4e357fd2db60b57fdf00f4b650 | |
parent | 810a0b1783cad8e7153454064f6bfb53984bded3 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/register.php b/register.php index 7a9304183..ca00bccfc 100644 --- a/register.php +++ b/register.php @@ -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, |