Skip to content

Commit b694eb3

Browse files
author
Dmytro Voskoboinikov
committed
Merge branch 'MAGETWO-92177' into 2.1.15-bugfixes-010818
2 parents e9499e3 + 187fd24 commit b694eb3

File tree

9 files changed

+146
-824
lines changed

9 files changed

+146
-824
lines changed

app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Magento\Framework\App\ResponseInterface;
1111
use Magento\Framework\Controller\ResultInterface;
1212
use Magento\Backend\App\Action\Context;
13+
use Magento\Framework\Exception\NotFoundException;
1314
use Magento\Ui\Component\MassAction\Filter;
1415
use Magento\Customer\Model\ResourceModel\Customer\CollectionFactory;
1516

@@ -60,6 +61,10 @@ public function __construct(Context $context, Filter $filter, CollectionFactory
6061
*/
6162
public function execute()
6263
{
64+
if (!$this->getRequest()->isPost()) {
65+
throw new NotFoundException(__('Page not found'));
66+
}
67+
6368
try {
6469
$collection = $this->filter->getCollection($this->collectionFactory->create());
6570
return $this->massAction($collection);

app/code/Magento/Customer/Test/Unit/Controller/Adminhtml/Index/MassAssignGroupTest.php

Lines changed: 0 additions & 196 deletions
This file was deleted.

0 commit comments

Comments
 (0)