Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit c7d1f59

Browse files
committed
MAGETWO-83579: RCE via Path Traversal Vulnerability in CMS Image/Media upload
1 parent bd60548 commit c7d1f59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/tests/integration/testsuite/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFolderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ public function testExecuteWithWrongDirectoryName()
8383
$this->model->getRequest()->setParams(['node' => $this->imagesHelper->idEncode($directoryName)]);
8484
$this->model->execute();
8585

86-
$this->assertTrue(
87-
$this->mediaDirectory->isExist(
88-
$this->mediaDirectory->getRelativePath($this->fullDirectoryPath . $directoryName)
86+
$this->assertTrue(
87+
$this->mediaDirectory->isExist(
88+
$this->mediaDirectory->getRelativePath($this->fullDirectoryPath . $directoryName)
8989
)
9090
);
9191
}

0 commit comments

Comments
 (0)