Feature #82479
closedSupport longer database passwords
100%
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
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54137
Updated by Gerrit Code Review about 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54137
Updated by Gerrit Code Review almost 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54137
Updated by Gerrit Code Review almost 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54137
Updated by Gerrit Code Review almost 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54137
Updated by Tobias Hüske almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 682f770aab17707e42c1d3093a2982624003d2e5.
Updated by Gerrit Code Review almost 7 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55179
Updated by Gerrit Code Review almost 7 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55179
Updated by Tobias Hüske almost 7 years ago
- Status changed from Under Review to Resolved
Applied in changeset e33e87f6ed9ba51660497000aaae914e8201ba18.