#82479Support longer database passwords
Description
Hey!
At the moment TYPO3 throws an error message when entering a database password that is larger than 50 characters.
See in file:
typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php
if (isset($postValues['password'])) {
$value = $postValues['password'];
if (strlen($value) <= 50) {
$defaultConnectionSettings['password'] = $value;
} else {
$messages[] = new FlashMessage(
'iven password must be shorter than fifty characters.',
'Database password not valid',
FlashMessage::ERROR
);
}
}
Microsoft SQL Server passwords can contain up to 128 characters, MySQL & PostgreSQL have no limitations.
I think the best way is raising TYPO3s limit for supporting longer (and safer) passwords.
Tobias