-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
Special characters in variables? #36
Comments
@vlucas sure thing. I'll take a look shortly. |
Thanks, guys. As part of testing last night, I changed the password to one which happened to have a |
@bigsweater can you provide the password, perhaps with some of the a-z characters changed? |
I have a random password generator - here are a few:
|
@kelvinj Originally, the password looked like this:
The new one looks like this:
|
Hahaha... of course. Argh! lol |
This has been fixed in v1.0.9. |
Excellent. Thanks. I'll test 'er out as soon as I can. |
Somewhere between 1.0.6 and 1.0.8, special characters in my dotenv broke.
In my staging environment, my DB password includes a special character (
$
). (It's a randomly-generated password, and my host requires non-alphanumeric characters in DB passwords.) Using 1.0.6, this was fine; but after upgrading to 1.0.8, WordPress couldn't connect to the database.Manually entering the password into wp-config (thereby bypassing Dotenv) worked.
Downgrading back to 1.0.6 did the trick for now.
Is there some way to ensure that an envvar is a string, and nothing more? (Single-quotes around the password didn't do the trick.)
Happy to help debug, but I'm not sure where to start!
The text was updated successfully, but these errors were encountered: