?
avatar Radek-Suski
Radek-Suski
15 Nov 2013

Steps to reproduce the issue

Upgrade Joomla! 3 to latest 3.2
Edit existing user account of which username contains whitespace
Hit "save"

Expected result

Data is stored

Actual result

Error message about username containing not allowed characters

It looks like this functionality has been intentionally removed. I don't think it's wise. In my opinion white space in user name increase the security.
Most important however is that it is breaking badly the backward compatibility. After an update (this happens apparently in Joomla! 2.5 as well) all existing user having white space in username are not able to update their account.

avatar Radek-Suski Radek-Suski - open - 15 Nov 2013
avatar snaffle
snaffle - comment - 3 Dec 2013

I've just come across this problem on a website I look after and just want to agree with Radek - terrible for backwards compatability. The website I look after has around 3000 users, a fair number of which have spaces in their usernames and after the 2.5.16 update they are unable to update their user details without getting the error message.

As much as I hate to modify core files I'm going to revert the users.php file back to the 2.5.14 version to get around this problem.

I hope this is addressed in the next Joomla update... if there is a strong desire to have the "no spaces" policy for usernames, perhaps it could be provided as an "option" so that it can be used for new websites but not break existing ones.

Cheers

Nathan

avatar zero-24 zero-24 - close - 3 Dec 2013
avatar betweenbrain
betweenbrain - comment - 3 Dec 2013

I'm closing this issue as it is a duiplicate of #2524, which also has a pull request. Please be so kind as to follow up on that issue. Thanks!

avatar betweenbrain betweenbrain - close - 3 Dec 2013
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
Build staging

Add a Comment

Login with GitHub to post a comment