diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-19 14:47:34 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-19 14:47:34 +0100 |
commit | 1810ea2d33907b85523d3abb278f5415e3fd3584 (patch) | |
tree | 2076af3611f868efe56c544125be24eebd7157b0 | |
parent | ca442dfc97d5123ea78a3dae48f71566063724f7 (diff) | |
parent | 003fc183a23ca74b7c6ccaf7dd9096b8b92ebc1f (diff) | |
download | nextcloud-server-1810ea2d33907b85523d3abb278f5415e3fd3584.tar.gz nextcloud-server-1810ea2d33907b85523d3abb278f5415e3fd3584.zip |
Merge pull request #13461 from owncloud/remove-strip-slashes
Remove stripslashes() from 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( |