diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-13 17:40:28 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-13 17:43:36 +0100 |
commit | 3ff3f641d63d6cbd9efe9bb3fd2eb1476369f408 (patch) | |
tree | 1a901375c1919b8fc4dd7606b5567484ca330c27 /apps/files/ajax/newfile.php | |
parent | ba8c050d2b827804d0c860be19591c9d35fd0adf (diff) | |
download | nextcloud-server-3ff3f641d63d6cbd9efe9bb3fd2eb1476369f408.tar.gz nextcloud-server-3ff3f641d63d6cbd9efe9bb3fd2eb1476369f408.zip |
Get rid of `stripslashes()`
This conversions are actually totally unneeded and probably left-overs from ages where the safe_mode was still a valid thing.
Diffstat (limited to 'apps/files/ajax/newfile.php')
-rw-r--r-- | apps/files/ajax/newfile.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files/ajax/newfile.php b/apps/files/ajax/newfile.php index c162237fe92..0eb144aca56 100644 --- a/apps/files/ajax/newfile.php +++ b/apps/files/ajax/newfile.php @@ -81,7 +81,6 @@ if (!\OC\Files\Filesystem::file_exists($dir . '/')) { exit(); } -//TODO why is stripslashes used on foldername in newfolder.php but not here? $target = $dir.'/'.$filename; if (\OC\Files\Filesystem::file_exists($target)) { |