Skip to content

Commit

Permalink
Merge forwardport of #11134 to 2.3-develop branch
Browse files Browse the repository at this point in the history
Applied pull request patch https://github.com/magento/magento2/pull/11134.patch (created by @Zifius) based on commit(s):
  1. 70379e3

Fixed GitHub Issues in 2.3-develop branch:
  - #10775: 404 Forbidden sounds not right (reported by @irinikp)
  • Loading branch information
magento-engcom-team authored Jan 23, 2018
2 parents 6e6e27d + 2817416 commit 44d5334
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function execute()
{
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->setStatusHeader(404, '1.1', 'Forbidden');
$resultPage->setStatusHeader(404, '1.1', 'Not Found');
$resultPage->setHeader('Status', '404 File not found');
$resultPage->addHandle('adminhtml_noroute');
return $resultPage;
Expand Down

0 comments on commit 44d5334

Please sign in to comment.