Project

General

Profile

Actions

Bug #14840

closed

Install tool does not accept hyphen in database host name

Added by Christian Reiter over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2005-06-24
Due date:
% Done:

0%

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

Description

Host names containing hyphens that were accepted by the install tool in previous versions are not allowed to be saved anymore.

Instead, the install tool delivers an "error" message
"Host was not alphanumeric, a-zA-Z0-9_-:., or longer than 50 chars (...not saved) "

example - "typo3-project.de" not saved
"typo3project.de" is saved

This causes a "point and click" upgrade with the install tool to fail. Of course it is possible to manually enter the host name in localconf.php, therefore this is a minor issue.

(issue imported from #M1239)


Files

bug_1239.diff (812 Bytes) bug_1239.diff Administrator Admin, 2005-06-24 20:36

Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #14852: Installer RegEx-Check for hostname is wrongClosedMichael Stucki2005-07-08

Actions
Has duplicate TYPO3 Core - Bug #14918: database config throws error when servername contains "-"ClosedMichael Scharkow2005-08-10

Actions
Actions #1

Updated by Michael Stucki over 19 years ago

bug_1239.diff fixes the problem. All you need to do is to switch the "-" and the ":" in the ereg call.

Actions #2

Updated by Michael Stucki over 19 years ago

Fixed in CVs. Will be fixed in 3.8.1 as well.

Actions

Also available in: Atom PDF