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 0fd52ab commit 177ef17Copy full SHA for 177ef17
app/code/Magento/Config/Model/Config/Backend/File.php
@@ -288,7 +288,7 @@ private function setValueAfterValidation(string $value): void
288
{
289
// avoid intercepting value
290
if (!preg_match('/^[A-Za-z0-9._\/ -]*$/', $value)) {
291
- throw new LocalizedException(__('%1', 'Invalid file name'));
+ throw new LocalizedException(__('Invalid file name'));
292
}
293
294
$this->setValue($value);
0 commit comments