You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 5.1: (28 commits)
[DI] fix
Use "composer/package-versions-deprecated" when possible
Fix
Small update in our internal terminology
Fix support for PHP8 union types
[VarDumper] fix typo
[Lock][Messenger] Fix precedence of DSN options for 5.1
Fix support for PHP8 union types
[FrameworkBundle] preserve dots in query-string when redirecting
[3.4] Fix support for PHP8 union types
[PhpUnitBridge] Streamline ansi/no-ansi of composer according to phpunit --colors option
[3.4] Small update in our internal terminology
[Cache] fix compat with DBAL v3
Remove unnecessary null check
[HttpFoundation] Allow `null` in InputBag@set
[HttpClient] Convert CurlHttpClient::handlePush() to instance method
Fix package rename when releasing
bumped Symfony version to 5.1.3
updated VERSION for 5.1.2
updated CHANGELOG for 5.1.2
...
@@ -117,8 +127,7 @@ public function urlRedirectAction(Request $request, string $path, bool $permanen
117
127
$scheme = $request->getScheme();
118
128
}
119
129
120
-
$qs = $request->getQueryString();
121
-
if ($qs) {
130
+
if ($qs = $request->server->get('QUERY_STRING') ?: $request->getQueryString()) {
122
131
if (false === strpos($path, '?')) {
123
132
$qs = '?'.$qs;
124
133
} else {
@@ -176,4 +185,49 @@ public function __invoke(Request $request): Response
176
185
177
186
thrownew \RuntimeException(sprintf('The parameter "path" or "route" is required to configure the redirect action in "%s" routing configuration.', $request->attributes->get('_route')));
Copy file name to clipboardExpand all lines: Kernel/MicroKernelTrait.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
132
132
thrownew \LogicException(sprintf('"%s" uses "%s", but does not implement the required method "protected function configureContainer(ContainerConfigurator $c): void".', get_debug_type($this), MicroKernelTrait::class), 0, $e);
0 commit comments