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