Skip to content

Commit

Permalink
Infinite redirects in Magento admin #21454
Browse files Browse the repository at this point in the history
- fixed issue with start up page redirect
  • Loading branch information
Jitheesh committed Feb 26, 2019
1 parent d1ce6a4 commit 11cfe04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/code/Magento/Backend/App/Request/BackendValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ private function createException(
$exception = new InvalidRequestException($response);
} else {
//For regular requests.
$startPageUrl = $this->backendUrl->getStartupPageUrl();
$response = $this->redirectFactory->create()
->setUrl($this->backendUrl->getStartupPageUrl());
->setUrl($this->backendUrl->getUrl($startPageUrl));
$exception = new InvalidRequestException(
$response,
[
Expand Down

0 comments on commit 11cfe04

Please sign in to comment.