diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-05-06 20:59:26 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-05-12 11:47:22 +0200 |
commit | 324c423548a708720a6f4247bb10be2f1314bd37 (patch) | |
tree | 68883fbbb3562893159585a4705748d89f6e5470 | |
parent | 418e878ba87169f97a3bccfec04e6066d354fc2f (diff) | |
download | nextcloud-server-324c423548a708720a6f4247bb10be2f1314bd37.tar.gz nextcloud-server-324c423548a708720a6f4247bb10be2f1314bd37.zip |
[files] kill stripslashes
-rw-r--r-- | apps/files/ajax/rename.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/ajax/rename.php b/apps/files/ajax/rename.php index 641655a9ea5..cb7a178852d 100644 --- a/apps/files/ajax/rename.php +++ b/apps/files/ajax/rename.php @@ -28,9 +28,9 @@ OCP\JSON::callCheck(); $files = new \OCA\Files\Files(); $result = $files->rename( - stripslashes($_GET["dir"]), - stripslashes($_GET["file"]), - stripslashes($_GET["newname"]) + $_GET["dir"], + $_GET["file"], + $_GET["newname"] ); if($result['success'] === true){ |