Skip to content
Snippets Groups Projects
Commit 324c4235 authored by Morris Jobke's avatar Morris Jobke
Browse files

[files] kill stripslashes

parent 418e878b
Branches
No related tags found
No related merge requests found
......@@ -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){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment