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 4c03af8 commit a62cdd4Copy full SHA for a62cdd4
app/code/Magento/Store/Ui/Component/Listing/Column/Store/Options.php
@@ -81,7 +81,7 @@ protected function sanitizeName($name)
81
preg_match('/\$[:]*{(.)*}/', $name ?: '', $matches);
82
if (count($matches) > 0) {
83
$name = $this->escaper->escapeHtml($this->escaper->escapeJs($name));
84
- } elseif (preg_match('/^[a-zA-Z\s\']+$/u', $name)) {
+ } elseif (preg_match("/^(?=.*')[a-zA-Z0-9' ]+$/", $name)) {
85
return $name;
86
} else {
87
$name = $this->escaper->escapeHtml($name);
0 commit comments