Skip to content

Commit 612b831

Browse files
ENGCOM-5507: Fix regular expression comment on function isNameValid() in ImageContentValidator.php #23840
- Merge Pull Request #23840 from nimbus2300/magento2:2.3-develop - Merged commits: 1. b6490fe
2 parents 4184f63 + b6490fe commit 612b831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Api/ImageContentValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function isMimeTypeValid($mimeType)
8686
*/
8787
protected function isNameValid($name)
8888
{
89-
// Cannot contain \ / : * ? " < > |
89+
// Cannot contain \ / ? * : " ; < > ( ) | { }
9090
if (!preg_match('/^[^\\/?*:";<>()|{}\\\\]+$/', $name)) {
9191
return false;
9292
}

0 commit comments

Comments
 (0)