Skip to content
Snippets Groups Projects
Commit 003fc183 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Remove stripslashes() from newfolder.php

parent cd4c7fd1
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.
Finish editing this message first!
Please register or to comment