username should be enclosed in double quotes in config files, in case the user name contains a = #481

mattab opened this Issue Dec 26, 2008 · 2 comments


None yet
2 participants

mattab commented Dec 26, 2008

From bug report:

In the config file we should have

username = “my=username”

instead of

username = my=username

the same way the password is currently enclosed in double quotes


robocoder commented Feb 26, 2009

from #570, host should also be enclosed in quotes.


mattab commented Mar 2, 2009

fixed in 949

—> all non-array values in Config/config.ini.php are now automatically enclosed in double quotes, and double quote automatically encoded as " (parse_ini_file doesn’t handle escaping the double quote, arg)

cleaning the Piwik_Config code, adding tests, the code using the Config is now more simple, all the logic is inside the class (before it was very hacky). the installer is now using the Config to create the config file rather than duplicating the logic.

@mattab mattab added this to the RobotRock milestone Jul 8, 2014

@mattab mattab added T: Bug labels Jul 8, 2014

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment