User tests: Successful: Unsuccessful:
See discussion #4489
the code to use would be:
JFilterInput::getInstance()->clean((string) $mystring, 'trim')
Labels |
Added:
?
|
Here is a string:
nonbreaking nonbreaking
multi multi
The spaces are in the middle. Just pick them and add first and last
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-10 06:22:56 |
I tested on staging (Joomla! 3.3.7-dev) using patch tester but issue has not been solved.
A username like " 123", that's [space] + 123 is still accepted.
and in User Manager when you edit the user details you can see the space in the form field.
Milestone |
Milestone |
Milestone |
Added: |
Milestone |
Added: |
Milestone |
Maybe you can give some sample strings (which contains non-breaking spaces and double byte whitespaces) so that we can use to test this method ?