Skip to content
Snippets Groups Projects
Commit bba9ccce authored by Peter Rotich's avatar Peter Rotich
Browse files

Decode html entities after sanitization

parent 3960a973
Branches
Tags v1.9.3
No related merge requests found
...@@ -157,7 +157,7 @@ class User extends UserModel { ...@@ -157,7 +157,7 @@ class User extends UserModel {
list($name) = explode('@', $vars['email'], 2); list($name) = explode('@', $vars['email'], 2);
$user = User::create(array( $user = User::create(array(
'name' => Format::sanitize($name, false), 'name' => Format::htmldecode(Format::sanitize($name, false)),
'created' => new SqlFunction('NOW'), 'created' => new SqlFunction('NOW'),
'updated' => new SqlFunction('NOW'), 'updated' => new SqlFunction('NOW'),
//XXX: Do plain create once the cause //XXX: Do plain create once the cause
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment