Project

General

Profile

Actions

Bug #91167

closed

Hosteurope database name not valid

Added by Tobias Musholt over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2020-04-22
Due date:
% Done:

100%

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

Description

Hosteurope database name are generated with hyphen (-) and are not valid. Please add the hyphen into the regular expression.

typo3_src-10.4.0/typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Platform/AbstractPlatform.php - Zeile 67:

old/wrong:
return strlen($databaseName) <= static::SCHEMA_NAME_MAX_LENGTH && preg_match('/^[a-zA-Z0-9\$_]*$/', $databaseName);

new/currenty:
return strlen($databaseName) <= static::SCHEMA_NAME_MAX_LENGTH && preg_match('/^[a-zA-Z0-9\$-_]*$/', $databaseName);

Actions

Also available in: Atom PDF