no special-chars in new admin-name
|Priority:||Should have||Due date:|
I want to create a new admin-user with a dot in it (like bernd.wilke). The creation seems to work, but a following BE_login failed.
After creating another adminuser (admin) I was able to login into the BE and there I found an admin-user berndwilke (without the dot).
Umlauts, which are usual in names, are removed also.
At least there should be a BIG warning if characters are removed at creation like:
<span style:"color:red; font-size:150%">username changed from ... to ...</span>
better: remove only a few characters, which can confuse databases: '"<>,;:?*%
searching for the modification leads me to class.tx_install.php line 3732 (case 'adminUser':), where a ereg_replace() removes all but [:al num:]_-
(issue imported from #M3242)
Updated by Martin Kutschker about 7 years ago
This is true for all kinds of users. But in the BE the auto-conversion is a bit more easy to see in the user list.
The easiest solution is a warning next to the input fields that all "funny" characters except a-z and 0-9 are removed.
Updated by Stefano Kowalke over 4 years ago
- allow the dot in name
- implement a check if entered string was ok
- display a warning if something went wrong