[files] kill stripslashes
This commit is contained in:
parent
418e878ba8
commit
324c423548
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue