Skip to content

Commit

Permalink
Merge pull request #8535 from 4n70w4/master
Browse files Browse the repository at this point in the history
[BUG] [CRITICAL] [PHP] Symfony server incorrect validation: min contstraint in max condition
  • Loading branch information
HugoMario committed Nov 18, 2018
2 parents 3b8c2f3 + 9dd5fe6 commit 7242cdb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
{{/minimum}}
{{#maximum}}
{{#exclusiveMaximum}}
* @Assert\LessThan({{minimum}})
* @Assert\LessThan({{maximum}})
{{/exclusiveMaximum}}
{{^exclusiveMaximum}}
* @Assert\LessThanOrEqual({{minimum}})
* @Assert\LessThanOrEqual({{maximum}})
{{/exclusiveMaximum}}
{{/maximum}}
{{#pattern}}
Expand Down

0 comments on commit 7242cdb

Please sign in to comment.