-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Fix Redis Transport when username is empty #43484
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
Hey! To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done? Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review. Cheers! Carsonbot |
I think, we need to fix this on 4.4 again. |
@derrabus The PR is rebased onto 4.4. |
@villfa Thank you for the PR. Can you please force-push again to trigger the CI? |
@chalasr I closed and reopened the PR and that did the trick apparently. |
src/Symfony/Component/Messenger/Tests/Transport/RedisExt/ConnectionTest.php
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Transport/RedisExt/Connection.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Transport/RedisExt/Connection.php
Outdated
Show resolved
Hide resolved
Thank you @villfa. |
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