Project

General

Profile

Actions

Feature #82479

closed

Support longer database passwords

Added by Tobias Hüske over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2017-09-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Actions

Also available in: Atom PDF