Skip to content

Commit 41268ba

Browse files
authored
Merge pull request #4244 from magento-tsg/2.2.9-develop-pr98
[TSG] Fixes for 2.2.9 (pr98) (2.2.9-develop)
2 parents 4df631b + 0d73c3d commit 41268ba

File tree

2 files changed

+5
-1
lines changed
  • dev/tests/functional/lib/Magento/Mtf/Util/Command/File
  • lib/internal/Magento/Framework/App/Router

2 files changed

+5
-1
lines changed

dev/tests/functional/lib/Magento/Mtf/Util/Command/File/Log.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Magento\Mtf\Util\Command\File;
88

9+
use Magento\Mtf\Util\Protocol\CurlInterface;
910
use Magento\Mtf\Util\Protocol\CurlTransport;
1011
use Magento\Mtf\Util\Protocol\CurlTransport\WebapiDecorator;
1112

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)