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 9771049 commit cc7e32bCopy full SHA for cc7e32b
app/code/Magento/Config/Model/Config/Backend/File.php
@@ -279,7 +279,7 @@ protected function _getAllowedExtensions()
279
private function setValueAfterValidation(string $value): void
280
{
281
// avoid intercepting value
282
- if (preg_match('/[^a-z0-9_\\-\\.]+/i', $value)) {
+ if (preg_match('/[^a-z0-9_\/\\-\\.]+/i', $value)) {
283
throw new LocalizedException(__('Invalid file name'));
284
}
285
0 commit comments