Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db password with double quotes is malformed on rewrite to config.ini.php #2968

Closed
robocoder opened this issue Feb 23, 2012 · 1 comment
Closed
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@robocoder
Copy link
Contributor

From feedback:

If the database password contains a double quote the activation of a plugin leads to an inoperable installation because the single quotes around the password are replaced with doble quotes without escaping the double quote inside the password. Piwik 1.7

@robocoder
Copy link
Contributor Author

Not reproducedable in 1713 branch.

I was only able to reproduce this in trunk by manually modifying the password and not encoding the double quotes, e.g.,

password = 'some"thing'

and then activating/deactivating a plugin.

Otherwise, it works when Piwik writes the password and encodes it as:

password = "some"thing"

So, I'm marking this as worksforme.

@robocoder robocoder added this to the 1.7.x - Piwik 1.7.1 milestone Jul 8, 2014
@robocoder robocoder self-assigned this 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
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

1 participant