Skip to content

Commit 043bdd8

Browse files
Merge branch '3.4' into 4.3
* 3.4: CS [Serializer] Skip uninitialized (PHP 7.4) properties in PropertyNormalizer and ObjectNormalizer stop using deprecated Doctrine persistence classes Fix regex lookahead syntax in ApplicationTest [SecurityBundle][FirewallMap] Remove unused property [DI] Improve performance of processDefinition Fix invalid Windows path normalization [Validator][ConstraintValidator] Safe fail on invalid timezones [DoctrineBridge] Fixed submitting invalid ids when using queries with limit fix comparisons with null values at property paths
2 parents a669163 + 88076a5 commit 043bdd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Templating/TemplateNameParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function parse($name)
4848
}
4949

5050
// normalize name
51-
$name = str_replace(':/', ':', preg_replace('#/{2,}#', '/', str_replace('\\', '/', $name)));
51+
$name = preg_replace('#/{2,}#', '/', str_replace('\\', '/', $name));
5252

5353
if (false !== strpos($name, '..')) {
5454
throw new \RuntimeException(sprintf('Template name "%s" contains invalid characters.', $name));

0 commit comments

Comments
 (0)