We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac4af31 commit 0693cc2Copy full SHA for 0693cc2
app/code/Magento/UrlRewrite/Controller/Router.php
@@ -118,7 +118,7 @@ protected function processRedirect($request, $rewrite)
118
if ($rewrite->getEntityType() !== Rewrite::ENTITY_TYPE_CUSTOM
119
|| ($prefix = substr($target, 0, 6)) !== 'http:/' && $prefix !== 'https:'
120
) {
121
- $target = $this->url->getUrl('', ['_direct' => $target]);
+ $target = $this->url->getUrl('', ['_direct' => $target, '_query' => $request->getParams()]);
122
}
123
return $this->redirect($request, $target, $rewrite->getRedirectType());
124
0 commit comments