Skip to content

Commit 0925f36

Browse files
committed
AC-6049: Filtering inputs handler in page_cache/block controller
* Static test fixes
1 parent 9ad9c9a commit 0925f36

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/PageCache/Controller

1 file changed

+2
-1
lines changed

app/code/Magento/PageCache/Controller/Block.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ public function __construct(
7676
?: ObjectManager::getInstance()->get(Base64Json::class);
7777
$this->layoutCacheKey = $layoutCacheKey
7878
?: ObjectManager::getInstance()->get(LayoutCacheKeyInterface::class);
79-
$this->regexValidatorFactory = ObjectManager::getInstance()->get(RegexFactory::class);
79+
$this->regexValidatorFactory = $regexValidatorFactory
80+
?: ObjectManager::getInstance()->get(RegexFactory::class);
8081
}
8182

8283
/**

0 commit comments

Comments
 (0)