-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] [Redis] Allow authentication with user and password #43124
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
Is 4.4 affected by this bug as well? |
src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php
Outdated
Show resolved
Hide resolved
File did not exists in 4.4 ! |
That was not my question. 😉 Messenger 4.4 did have support for Redis and the logic was eventually moved to the file you're fixing here. |
I suppose the code was in |
Ok, my bad! should backport the PR to 4.4 as well @fabpot ? |
Please rebase on 4.4 and do the change on that file, yes. We will take care of applying the patch to the new location when merging up. |
9340f36
to
378126a
Compare
@chalasr I've changed the base branch & files :) |
e8a034e
to
5a6bf50
Compare
Thank you @GaryPEGEOT. |
…llfa) This PR was merged into the 4.4 branch. Discussion ---------- [Messenger] Fix Redis Transport when username is empty | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #43306 | License | MIT | Doc PR | n/a Checking the username and the password with `isset` is not enough. We also need to check they're not empty strings. This fixes the BC break introduced by #43124. See also https://3v4l.org/iASnE Commits ------- cd66b8c [Messenger] Fix Redis Transport when username is empty
Allow to authenticate on Redis with user and password, instead of only password