Skip to content

Commit 0d73c3d

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-99566' into 2.2.9-develop-pr98
2 parents ec3ccec + e4552c9 commit 0d73c3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/internal/Magento/Framework/App/Router/ActionList.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
@@ -10,6 +9,9 @@
109
use Magento\Framework\Serialize\Serializer\Serialize;
1110
use Magento\Framework\Module\Dir\Reader as ModuleReader;
1211

12+
/**
13+
* Class to retrieve action class.
14+
*/
1315
class ActionList
1416
{
1517
/**
@@ -91,6 +93,7 @@ public function get($module, $area, $namespace, $action)
9193
if ($area) {
9294
$area = '\\' . $area;
9395
}
96+
$namespace = strtolower($namespace);
9497
if (strpos($namespace, self::NOT_ALLOWED_IN_NAMESPACE_PATH) !== false) {
9598
return null;
9699
}

0 commit comments

Comments
 (0)