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 bd3fe92 commit b9d39caCopy full SHA for b9d39ca
app/code/Magento/ImportExport/Controller/Adminhtml/Export/File/Download.php
@@ -60,7 +60,7 @@ public function __construct(
60
public function execute()
61
{
62
$fileName = $this->getRequest()->getParam('filename');
63
- if (empty($fileName) || preg_match('/\.\.(\\\|\/)/', $fileName)) {
+ if (empty($fileName) || preg_match('/\.\.(\\\|\/)/', $fileName) !== 0) {
64
throw new LocalizedException(__('Please provide valid export file name'));
65
}
66
try {
0 commit comments