[TYPO3-dev] Install tool removes dots from admin usernames

Steffen Kamper info at sk-typo3.de
Sat Jan 10 14:56:58 CET 2009


Hi,

in class.tx_install.php you find this line:

$username = 
ereg_replace('[^[:alnum:]_-]','',trim($this->INSTALL['database_adminUser']['username'])); 


only chars beside numbers and letter-chars are '_-'

When you make a patch, add the '.' to this pattern and change it to 
preg_replace.

vg Steffen

Stefano Kowalke schrieb:
> Hi all,
> 
> i just covered the issue that the install tool removes the dot from a
> username by saving to the DB.
> 
> I search in the BT and found an entry [1]. Please look there for detailed
> description.
> 
> So i steped deeper into the code and found the place were the install tool
> created the admin user. But i dont get it were the dots were removed.
> 
> I looking for how to create a BE-User, since names with dots was saved
> correctly to the DB. But i dont get ist.
> 
> Could someone points me to the right direction?
> 
> Regards 
> Stefano 
> 
> [1] http://bugs.typo3.org/view.php?id=5630




More information about the TYPO3-dev mailing list