Remove stripslashes() from newfolder.php

This commit is contained in:
Lukas Reschke 2015-01-19 14:12:36 +01:00
parent cd4c7fd11f
commit 003fc183a2
1 changed files with 1 additions and 2 deletions

View File

@ -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(