Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security/Core] fix escape for username in LdapBindAuthenticationProvider.php#36498

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:3.4fromstoccc:patch-1
Apr 21, 2020

Conversation

@stoccc
Copy link
Contributor

@stocccstoccc commentedApr 19, 2020
edited
Loading

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
LicenseMIT

I think that when we callldap_search() as definitely it will do the$this->ldap->query() call, the proper filter applied should beLdapInterface::ESCAPE_FILTER as documented in
https://www.php.net/manual/en/function.ldap-escape.php whileLdapInterface::ESCAPE_DN should be used fordn only

This simple change should fix, I'm sorry if I'm wrong.

@stocccstoccc changed the titleUpdate LdapBindAuthenticationProvider.phpfix escape for username in LdapBindAuthenticationProvider.phpApr 19, 2020
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneApr 20, 2020
@nicolas-grekasnicolas-grekas changed the titlefix escape for username in LdapBindAuthenticationProvider.php[Security/Core] fix escape for username in LdapBindAuthenticationProvider.phpApr 20, 2020
@nicolas-grekas
Copy link
Member

Thank you@stoccc.

@nicolas-grekasnicolas-grekas merged commit08ded7f intosymfony:3.4Apr 21, 2020
This was referencedApr 28, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@stoccc@nicolas-grekas@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp