aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--register.php2
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,