Skip to content

Commit a73b1cb

Browse files
committed
Merge branch '4.0' into 4.1
* 4.0: do not mock the session in token storage tests [DependencyInjection] resolve array env vars Add Occitan plural rule Fix security/* cross-dependencies [Lock] Skip test if posix extension is not installed [DI] Allow defining bindings on ChildDefinition use strict compare in url validator Disallow illegal characters like "." in session.name [HttpKernel] do file_exists() check instead of silent notice fix rounding from string
2 parents c6e4dc1 + 0b3f201 commit a73b1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/UrlValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function validate($value, Constraint $constraint)
8787
Url::CHECK_DNS_TYPE_SOA,
8888
Url::CHECK_DNS_TYPE_SRV,
8989
Url::CHECK_DNS_TYPE_TXT,
90-
))) {
90+
), true)) {
9191
throw new InvalidOptionsException(sprintf('Invalid value for option "checkDNS" in constraint %s', get_class($constraint)), array('checkDNS'));
9292
}
9393

0 commit comments

Comments
 (0)