We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4181091 commit 0873a5fCopy full SHA for 0873a5f
Constraints/UrlValidator.php
@@ -92,7 +92,7 @@ public function validate($value, Constraint $constraint)
92
Url::CHECK_DNS_TYPE_SOA,
93
Url::CHECK_DNS_TYPE_SRV,
94
Url::CHECK_DNS_TYPE_TXT,
95
- ))) {
+ ), true)) {
96
throw new InvalidOptionsException(sprintf('Invalid value for option "checkDNS" in constraint %s', get_class($constraint)), array('checkDNS'));
97
}
98
0 commit comments