File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ $ -> Language fix or change
27
27
28
28
07-Oct-2013 Jean-Marie Simonet
29
29
# [#32199] *Allow username edit in profile edit when username is not compliant. Thanks Achal Aggarwal
30
+ # [#30586] Usernames that should not be accepted can be actualy registered. Thanks Sergio Manzi
30
31
31
32
07-Oct-2013 Roberto Segura
32
33
# 06-Oct-2013 Fix broken install after [#31602]. Thanks Michael Babker
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public function check()
186
186
return false ;
187
187
}
188
188
189
- if (preg_match (" #[<> \" '%;()&]#i " , $ this ->username ) || strlen (utf8_decode ($ this ->username )) < 2 )
189
+ if (preg_match (' #[<>" \ '%;()& \\ s \\\\ ]| \\ . \\ ./# ' , $ this ->username ) || strlen (utf8_decode ($ this ->username )) < 2 )
190
190
{
191
191
$ this ->setError (JText::sprintf ('JLIB_DATABASE_ERROR_VALID_AZ09 ' , 2 ));
192
192
You can’t perform that action at this time.
0 commit comments