Skip to content

[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

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

javiereguiluz
Copy link
Member

Fixes #19955.


.. 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]
Copy link
Member

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.

Copy link
Member Author

@javiereguiluz javiereguiluz Jun 14, 2024

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.

Copy link
Member

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

Copy link
Member Author

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.

@javiereguiluz javiereguiluz merged commit 28ea058 into symfony:5.4 Jun 18, 2024
@javiereguiluz javiereguiluz deleted the fix_19955 branch June 18, 2024 08:33
@javiereguiluz
Copy link
Member Author

OK, this was merged ... and the changes reverted in 6.4 and up here: b7fe8d4

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

Successfully merging this pull request may close these issues.

4 participants