-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Validator] Wire NotCompromisedPassword in FrameworkBundle and handle non UTF-8 password #30898
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A test case would be nice
a1be3d5
to
76fa504
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it makes too much sense to make this configurable. People who don't use UTF-8 should change internal_encoding php.ini setting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test case.
FrameworkBundle should define a service for that constraint validator, passing |
@stof that's the aim, but it can be the subject of another PR IMO. |
76fa504
to
239810d
Compare
Updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one 🎉
239810d
to
bc0ba26
Compare
Based on #30889, otherwise ready to review. |
@tgalopin Can you rebase? |
bc0ba26
to
4f74a33
Compare
Updated |
src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
Outdated
Show resolved
Hide resolved
4f74a33
to
c5cd75d
Compare
Updated |
… non UTF-8 password
c5cd75d
to
8ac712b
Compare
Thank you @tgalopin. |
…ndle and handle non UTF-8 password (tgalopin) This PR was squashed before being merged into the 4.3-dev branch (closes #30898). Discussion ---------- [Validator] Wire NotCompromisedPassword in FrameworkBundle and handle non UTF-8 password | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #30870 | License | MIT | Doc PR | - Live from #eu-fossa Fix #30870 Commits ------- 8ac712b [Validator] Wire NotCompromisedPassword in FrameworkBundle and handle non UTF-8 password
Live from #eu-fossa
Fix #30870