From b6490fe11691c153e736a0562a9a7875e5f20d7f Mon Sep 17 00:00:00 2001 From: beltong Date: Tue, 23 Jul 2019 16:53:22 +0100 Subject: [PATCH] Fix regular expression comment on function isNameValid() --- lib/internal/Magento/Framework/Api/ImageContentValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Api/ImageContentValidator.php b/lib/internal/Magento/Framework/Api/ImageContentValidator.php index cc5e830f67231..91df081523867 100644 --- a/lib/internal/Magento/Framework/Api/ImageContentValidator.php +++ b/lib/internal/Magento/Framework/Api/ImageContentValidator.php @@ -86,7 +86,7 @@ protected function isMimeTypeValid($mimeType) */ protected function isNameValid($name) { - // Cannot contain \ / : * ? " < > | + // Cannot contain \ / ? * : " ; < > ( ) | { } if (!preg_match('/^[^\\/?*:";<>()|{}\\\\]+$/', $name)) { return false; }