Skip to content

Commit 0b3f201

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: 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 18713a3 + 62ccdf6 commit 0b3f201

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
@@ -86,7 +86,7 @@ public function validate($value, Constraint $constraint)
8686
Url::CHECK_DNS_TYPE_SOA,
8787
Url::CHECK_DNS_TYPE_SRV,
8888
Url::CHECK_DNS_TYPE_TXT,
89-
))) {
89+
), true)) {
9090
throw new InvalidOptionsException(sprintf('Invalid value for option "checkDNS" in constraint %s', get_class($constraint)), array('checkDNS'));
9191
}
9292

0 commit comments

Comments
 (0)