Skip to content

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