Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] Fix accepting null as $uidKey in LdapUserProvider #27847

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
Jul 5, 2018
Merged

[Security] Fix accepting null as $uidKey in LdapUserProvider #27847

merged 1 commit into from
Jul 5, 2018

Conversation

louhde
Copy link

@louhde louhde commented Jul 4, 2018

Q A
Branch? 4.0
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Fixing the hard BC break introduced in afeb89f#diff-96df7b4cb1c79ec0877d79ae2b61899dL40

@nicolas-grekas nicolas-grekas changed the title [Security] Fix accepting null as $uidKey [Security] Fix accepting null as $uidKey in LdapUserProvider Jul 4, 2018
@nicolas-grekas nicolas-grekas added this to the 4.0 milestone Jul 4, 2018
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, spotted on Blackfire where we rely on passing null to set the default value.

@chalasr chalasr changed the base branch from master to 4.0 July 5, 2018 05:46
@chalasr
Copy link
Member

chalasr commented Jul 5, 2018

Thank you @louhde.

@chalasr chalasr merged commit c776259 into symfony:4.0 Jul 5, 2018
chalasr pushed a commit that referenced this pull request Jul 5, 2018
…er (louhde)

This PR was merged into the 4.0 branch.

Discussion
----------

[Security] Fix accepting null as $uidKey in LdapUserProvider

| Q             | A
| ------------- | ---
| Branch?       | 4.0
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Fixing the hard BC break introduced in afeb89f#diff-96df7b4cb1c79ec0877d79ae2b61899dL40

Commits
-------

c776259 [Security] LdapUserProvider uidKey could be null
@louhde louhde deleted the security-fix-ldap-uidkey branch July 5, 2018 09:31
This was referenced Jul 23, 2018
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