[files] kill stripslashes

This commit is contained in:
Morris Jobke 2013-05-06 20:59:26 +02:00
parent 418e878ba8
commit 324c423548
1 changed files with 3 additions and 3 deletions

View File

@ -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){