Skip to content

[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

Merged
merged 1 commit into from
Oct 24, 2021
Merged

[Messenger] Fix Redis Transport when username is empty #43484

merged 1 commit into from
Oct 24, 2021

Conversation

villfa
Copy link
Contributor

@villfa villfa commented Oct 13, 2021

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

@carsonbot
Copy link

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

@villfa villfa marked this pull request as ready for review October 13, 2021 20:38
@villfa villfa requested a review from sroze as a code owner October 13, 2021 20:38
@carsonbot carsonbot added this to the 5.4 milestone Oct 13, 2021
@villfa villfa changed the base branch from 5.4 to 5.3 October 13, 2021 20:43
@derrabus
Copy link
Member

I think, we need to fix this on 4.4 again.

@derrabus derrabus modified the milestones: 5.4, 4.4 Oct 13, 2021
@villfa villfa changed the base branch from 5.3 to 4.4 October 13, 2021 20:48
@villfa villfa changed the base branch from 4.4 to 5.3 October 13, 2021 20:48
@villfa villfa changed the base branch from 5.3 to 4.4 October 13, 2021 21:09
@villfa
Copy link
Contributor Author

villfa commented Oct 13, 2021

@derrabus The PR is rebased onto 4.4.

@chalasr
Copy link
Member

chalasr commented Oct 13, 2021

@villfa Thank you for the PR. Can you please force-push again to trigger the CI?

@derrabus derrabus closed this Oct 13, 2021
@derrabus derrabus reopened this Oct 13, 2021
@derrabus
Copy link
Member

@chalasr I closed and reopened the PR and that did the trick apparently.

@villfa villfa requested a review from nicolas-grekas October 21, 2021 16:47
@chalasr
Copy link
Member

chalasr commented Oct 24, 2021

Thank you @villfa.

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.

BC Break when using Redis transport with an empty username
6 participants