summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-12-28 02:14:49 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-12-28 02:14:49 +0100
commit8ce67793df5ea77494f6587f297fb96271d03290 (patch)
tree1bb72bb7a32b4a65dbfcfce93c19cd6788cc80c7 /includes/pages
parentc623a110ad9b3863b87c2ceb9adc9d689eed009b (diff)
form text fields now make htmlspecialchars
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/guest_login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php
index 1a8465dc..b9aca87d 100644
--- a/includes/pages/guest_login.php
+++ b/includes/pages/guest_login.php
@@ -48,7 +48,7 @@ function guest_register() {
}
} else {
$ok = false;
- $msg .= error(sprintf(_("Your nick &quot;%s&quot; is too short (min. 2 characters)."), strip_request_item('nick')), true);
+ $msg .= error(sprintf(_("Your nick &quot;%s&quot; is too short (min. 2 characters)."), User_validate_Nick($_REQUEST['nick'])), true);
}
if (isset($_REQUEST['mail']) && strlen(strip_request_item('mail')) > 0) {