[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:14:18 +0000 (07:14 +0200)
commitbc3809c045e875bd8419d853e6392cf1ec854933
treeb6ef1d3993a12a8e6cf3fc969752cd2e2cad084e
parentbea7c156ab3516836e310c33697ebbfde0173936
[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/14898
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/install/mod/class.tx_install.php