laravel-config-writer
laravel-config-writer copied to clipboard
String with backslash fails
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. :smiley: