mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
No need to strip slashes, json_decode handles that for us
This commit is contained in:
parent
4ccc9d896a
commit
a21885953f
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ OCP\JSON::callCheck();
|
|||
|
||||
// Get data
|
||||
$dir = stripslashes($_POST["dir"]);
|
||||
$files = isset($_POST["file"]) ? stripslashes($_POST["file"]) : stripslashes($_POST["files"]);
|
||||
$files = isset($_POST["file"]) ? $_POST["file"] : $_POST["files"];
|
||||
|
||||
$files = json_decode($files);
|
||||
$filesWithError = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue