Project

General

Profile

Actions

Feature #14177

closed

No special chars for database password

Added by Marcel Gmür about 20 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-05-19
Due date:
% Done:

0%

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

Description

You can't specifi password with special chars over the install tool.

Workaround:
Use dummy password and change it later in localconf.php directly.
(issue imported from #M111)

Actions #1

Updated by Ingmar Schlecht about 20 years ago

The current condition that the password has to match is this: [^[:alnum:]_\.-]
which means that the password can contain these characters:

a-z
A-Z
0-9
_
-
.

Which character was it you tried to use?

Do you have a suggestion for a better condition than [^[:alnum:]_\.-]?
Perhaps we shouldn't validate the password characters at all?

Actions #2

Updated by Marcel Gmür about 20 years ago

I was looking at www.mysql.org, but didn't find a note which characters are allowed.

I like to use at least one special character, upper- and lowercase and numbers.

Special characters for passwords are every char on my keyboard (de_CH) which you can type:
°+"*ç%&/()=?`§¦@#¬|¢´~'^}{][£

Do you now a problem for using one of these?

bearbeitet am: 21.05.04 09:27

Actions #3

Updated by Jochen Weiland about 20 years ago

At least in 3.5.0 the password could not contain a period ( . ) when using the install tool, however you could enter it directly in typo3conf.
So it was just an install tool problem, not a mysql issue.
I don't know whether the db password handling did change in 3.6.x

Actions #4

Updated by Schmid Valentin almost 20 years ago

I think you should also expand the regexp's for checking the
username and the databasename in the Install Tool.
e.g. database- and user-names containing the - (dash character)
don't work properly.

Actions #5

Updated by Ingmar Schlecht almost 20 years ago

I have just fixed this for 3.7, please test it in the RC.

Actions

Also available in: Atom PDF