[TASK] Database creating fails due to not allowed characters
authorJigal van Hemert <jigal@xs4all.nl>
Sat, 22 Sep 2012 05:08:57 +0000 (07:08 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Sat, 22 Sep 2012 05:18:17 +0000 (07:18 +0200)
commit825a6d53ee8fa05706bdca72956f9207fac3302d
tree817112a6cf32c39bb1d77d975d7696be616c7a1c
parent88c6a72d1db2958626e6ae0be5621f82f8f2c3d8
[TASK] Database creating fails due to not allowed characters

Due to compatibility the CREATE DATABASE statement is used without quotes.
At least for MySQL databases there are limited characters allowed to use
in unquoted database names (0-9,a-z,A-Z$_). At the moment the database
name is parsed with enabled hyphen but this is obviously not allowed. The
parsing has to be changed to meet the MySQL limitation as well.

Change-Id: Id8e025e6c681487818973a595652dd29cb86c4b8
Resolves: #41151
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/14899
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/install/mod/class.tx_install.php