-
Notifications
You must be signed in to change notification settings - Fork 82
Labels
bugSomething isn't workingSomething isn't working
Description
What is the current behavior?
Omitting the protocol from the DSN (which is valid) causes this DSN to get cached. Every site load or CLI usage tries to use this cached value, which then fails validation, this means there's no way to flush the cache (bar wiping files/manually flushing redis) after correcting the DSN
What is the expected behavior?
An invalid DSN format should not error out the whole site, and especially not the CLI
How can we reproduce the issue?
Omit the protocol (https://) from the DSN - either in the env.php or the admin panel override
What is the proposed solution?
Relax the DSN validation, and disable the module functionality if the config is not valid
do you have any additional information for us?
I'm willing to write a fix if you let me know what your preferred solution would be
Is there an existing issue for this?
- I have searched the existing issues
Are you willing to create a pull request for this?
- If i have a fix i would be willing to create a pull request
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working