diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-19 14:12:36 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-19 14:12:36 +0100 |
commit | 003fc183a23ca74b7c6ccaf7dd9096b8b92ebc1f (patch) | |
tree | 33aabc04ff7999eb7850336654c3fa87130bf0cf /apps/files/ajax/newfolder.php | |
parent | cd4c7fd11fb119846757345681425d776e6abbea (diff) | |
download | nextcloud-server-003fc183a23ca74b7c6ccaf7dd9096b8b92ebc1f.tar.gz nextcloud-server-003fc183a23ca74b7c6ccaf7dd9096b8b92ebc1f.zip |
Remove stripslashes() from newfolder.php
Diffstat (limited to 'apps/files/ajax/newfolder.php')
-rw-r--r-- | apps/files/ajax/newfolder.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/ajax/newfolder.php b/apps/files/ajax/newfolder.php index 3ad64021cfe..fab230717de 100644 --- a/apps/files/ajax/newfolder.php +++ b/apps/files/ajax/newfolder.php @@ -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( |