Project

General

Profile

Actions

Bug #16037

closed

no special-chars in new admin-name

Added by Bernd Wilke over 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2006-04-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17308: Install tool removes dots from admin usernamesClosedOliver Hader2007-05-14

Actions
Related to TYPO3 Core - Bug #20258: admin user created over installtool -> databaseanalyzer with umlaute in password couldn't loginClosed2009-03-31

Actions
Actions #1

Updated by Martin Kutschker over 18 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.

Actions #2

Updated by Stefano Kowalke almost 16 years ago

This relates to http://bugs.typo3.org/view.php?id=5630 and was fix there.
Solution:
  • allow the dot in name
ToDo here:
  • implement a check if entered string was ok
  • display a warning if something went wrong
Actions #3

Updated by Alexander Opitz over 11 years 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.

Actions

Also available in: Atom PDF