-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Validator] Add D
regex modifier in relevant validators
#57984
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
[Validator] Add D
regex modifier in relevant validators
#57984
Conversation
I'd go with a bugfix personally. WDYT @symfony/mergers ? |
I agree with a bugfix as it also ensures some kind of security also IMHO |
👍 for treating this as a bugfix |
389d337
to
1140b29
Compare
1140b29
to
ed8831a
Compare
Alright, I rebased on 5.4. The merger may encounter a few conflicts during upmerge, especially with the Time constraint where a new regex is added in upper branches. If necessary, I'll provide a follw-up PR for it and add the relevant test case |
src/Symfony/Component/Validator/Tests/Constraints/CardSchemeValidatorTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Validator/Tests/Constraints/CardSchemeValidatorTest.php
Outdated
Show resolved
Hide resolved
ed8831a
to
7d1032b
Compare
Thank you @alexandre-daubois. |
After #57908 (comment). I'm not sure if this should be considered a bugfix or a feature.