8000 [Validator] Traversal cannot be disabled with XML · Issue #13740 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Validator] Traversal cannot be disabled with XML #13740

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

Closed
webmozart opened this issue Feb 19, 2015 · 1 comment
Closed

[Validator] Traversal cannot be disabled with XML #13740

webmozart opened this issue Feb 19, 2015 · 1 comment

Comments

@webmozart
Copy link
Contributor

Currently, the following constraint is ignored:

<constraint name="Traverse">false</constraint>

The value "false" is interpreted as string, not as boolean, hence traversal cannot be disabled.

/cc @pminnieur

@xabbuh
Copy link
Member
xabbuh commented Dec 16, 2016

see #20961 for a fix

fabpot added a commit that referenced this issue Dec 17, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] phpize default option values

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

This makes the behavior for default constraints inline with the behavior
when the option is given explicitly.

Commits
-------

d65679b [Validator] phpize default option values
@fabpot fabpot closed this as completed Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
0