From 324c423548a708720a6f4247bb10be2f1314bd37 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 6 May 2013 20:59:26 +0200 Subject: [PATCH] [files] kill stripslashes --- apps/files/ajax/rename.php | 6 +++--- 1 file 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){ -- 2.39.5