-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Cache] Mention that user/password are not supported for Redis DSN #19957
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
Conversation
|
||
.. note:: | ||
|
||
A `Data Source Name (DSN)`_ for this adapter must use either one of the following formats. | ||
|
||
.. code-block:: text | ||
|
||
redis[s]://[pass@][ip|host|socket[:port]][/db-index] | ||
redis[s]://[ip|host|socket[:port]][/db-index] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if I read the changes from symfony/symfony#45313 correctly, passing a password was possible before. Then reverting #17234 seems to be the solution to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. But this revert must be applied only to 5.4, right? 6.4 and up should be kept unchanged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that's how I see it as the support for this form was introduced in Symfony 6.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I reverted everything that was added in #17234 ... and I'll readd it in 6.4 branch and up when merging this.
OK, this was merged ... and the changes reverted in 6.4 and up here: b7fe8d4 |
Fixes #19955.