Skip to content

Commit b0de3be

Browse files
author
OlgaVasyltsun
committed
MAGETWO-99567: Update Url ActionList
1 parent 5325c84 commit b0de3be

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,13 +1,15 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
76
namespace Magento\Framework\App\Router;
87

98
use Magento\Framework\Module\Dir\Reader as ModuleReader;
109

10+
/**
11+
* Class to retrieve action class.
12+
*/
1113
class ActionList
1214
{
1315
/**
@@ -74,6 +76,7 @@ public function get($module, $area, $namespace, $action)
7476
if ($area) {
7577
$area = '\\' . $area;
7678
}
79+
$namespace = strtolower($namespace);
7780
if (strpos($namespace, self::NOT_ALLOWED_IN_NAMESPACE_PATH) !== false) {
7881
return null;
7982
}

0 commit comments

Comments
 (0)