From 2817416f0a46608c3de49ae3d3b118c9818ec70c Mon Sep 17 00:00:00 2001 From: Magento EngCom Team Date: Tue, 23 Jan 2018 10:49:47 -0600 Subject: [PATCH] :arrow_double_up: Forwardport of magento/magento2#11134 to 2.3-develop branch Applied pull request patch https://github.com/magento/magento2/pull/11134.patch (created by @Zifius) based on commit(s): 1. 70379e3017df257cff1b418fd7c3bbfe123078a8 Fixed GitHub Issues in 2.3-develop branch: - magento/magento2#10775: 404 Forbidden sounds not right (reported by @irinikp) --- app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php index e8251b5be6030..ce59d2fd48e5a 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php @@ -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;