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

String with backslash fails #12

Open
eXpl0it3r opened this issue Aug 11, 2016 · 0 comments
Open

String with backslash fails #12

eXpl0it3r opened this issue Aug 11, 2016 · 0 comments

Comments

@eXpl0it3r
Copy link

I tried to install October CMS which uses laravel-config-writer. The installer asks for the password of the MySQL database and since my passwords are all randomly generated, they contain special characters and sometimes that might be a backslash (). The installer always failed with the error:

Unable to rewrite key "connections.mysql.password" in config, rewrite failed

Now I understand that having one backslash isn't really smart anyways, since it will be stored in a string where the backslash will act as escape character. However even if you use two backslashes to escape the first one, rewrite will just error.

Maybe you don't want to support backslashes, but I thought it's worth reporting regardless. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant