We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff00cb commit 5708f5bCopy full SHA for 5708f5b
lib/internal/Magento/Framework/View/Element/AbstractBlock.php
@@ -1048,7 +1048,7 @@ public function getCacheKeyInfo()
1048
public function getCacheKey()
1049
{
1050
if ($this->hasData('cache_key')) {
1051
- if (preg_match('/[^a-z0-9\-\_]/', $this->getData('cache_key'))) {
+ if (preg_match('/[^a-z0-9\-\_]/i', $this->getData('cache_key'))) {
1052
throw new \Magento\Framework\Exception\LocalizedException(
1053
__(
1054
'Please enter cache key with only alphanumeric or hash string.'
0 commit comments