Bug #16037
no special-chars in new admin-name
| Status: | Closed | Start date: | 2006-04-12 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Install Tool | |||
| Target version: | - | |||
| TYPO3 Version: | 4.0 | Complexity: | ||
| PHP Version: | ||||
| Votes: | 0 |
Description
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)
Related issues
| related to Core - Bug #17308: Install tool removes dots from admin usernames | Closed | 2007-05-14 | ||
| related to Core - Bug #20258: admin user created over installtool -> databaseanalyzer w... | Needs Feedback | 2009-03-31 |
History
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
Solution:
- allow the dot in name
- implement a check if entered string was ok
- display a warning if something went wrong
Updated by Alexander Opitz 2 months ago
- Status changed from New to Closed
- Target version deleted (
0) - PHP Version deleted (
4)
Tested with 6.0:
Username: ich<>bla Password: ölö
Username: ich.bla Password: ölö
User was created as admin with that name and login was possible.