@goretkin opened this Issue on February 24th 2016

The database name I can use contains a +. During setup Piwik tells me that's an invalid database name.

I don't follow the code perfectly, but it looks like it boils down to
https://github.com/piwik/piwik/blob/7f375924db9328f20a0b7cb1e41397f2309b60a7/plugins/Installation/FormDatabaseSetup.php#L63

and then

https://github.com/piwik/piwik/blob/7f375924db9328f20a0b7cb1e41397f2309b60a7/core/Filesystem.php#L54

I'm going to try the regular expression (^[a-zA-Z0-9]+([a-zA-Z_0-9.-\\+]*))$ instead

@tsteur commented on February 25th 2016 Owner

Thx! This is a bug and we probably should allow a + in database name

This Issue was closed on August 2nd 2016
Powered by GitHub Issue Mirror