Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
+4 -1
View File
@@ -146,6 +146,10 @@ class Router extends BaseRouter implements WarmableInterface
return '%%';
}
if (preg_match('/^env\(\w+\)$/', $match[1])) {
throw new RuntimeException(sprintf('Using "%%%s%%" is not allowed in routing configuration.', $match[1]));
}
$resolved = $container->getParameter($match[1]);
if (is_string($resolved) || is_numeric($resolved)) {
@@ -160,7 +164,6 @@ class Router extends BaseRouter implements WarmableInterface
gettype($resolved)
)
);
}, $value);
return str_replace('%%', '%', $escapedValue);