Skip to content
Snippets Groups Projects
Commit 1810ea2d authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #13461 from owncloud/remove-strip-slashes

Remove stripslashes() from newfolder.php
parents ca442dfc 003fc183
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,7 @@ if (!\OC\Files\Filesystem::file_exists($dir . '/')) {
exit();
}
//TODO why is stripslashes used on foldername here but not in newfile.php?
$target = $dir . '/' . stripslashes($foldername);
$target = $dir . '/' . $foldername;
if (\OC\Files\Filesystem::file_exists($target)) {
$result['data'] = array('message' => $l10n->t(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment