aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/register.php b/register.php
index 5a9fb04c5..98e76d916 100644
--- a/register.php
+++ b/register.php
@@ -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