Skip to content

Commit cc7e32b

Browse files
committed
AC-9883: Fix Catalog System Config
1 parent 9771049 commit cc7e32b

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Config/Model/Config/Backend

1 file changed

+1
-1
lines changed

app/code/Magento/Config/Model/Config/Backend/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ protected function _getAllowedExtensions()
279279
private function setValueAfterValidation(string $value): void
280280
{
281281
// avoid intercepting value
282-
if (preg_match('/[^a-z0-9_\\-\\.]+/i', $value)) {
282+
if (preg_match('/[^a-z0-9_\/\\-\\.]+/i', $value)) {
283283
throw new LocalizedException(__('Invalid file name'));
284284
}
285285

0 commit comments

Comments
 (0)