We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9763ffa + b31c25d commit 8ec6de7Copy full SHA for 8ec6de7
1 file changed
Plugin/Magento/Store/App/Request/StorePathInfoValidator.php
@@ -115,7 +115,7 @@ public function afterGetValidStoreCode(
115
$response = $this->responseFactory->create();
116
$response->setRedirect($request->getDistroBaseUrl() . $requestUri, 301);
117
$response->sendResponse();
118
- exit;
+ return ''; // This should never be reached because of the function above.
119
}
120
121
$storeCode = "{$websiteCode}_{$pathParts[0]}";
0 commit comments