diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-07-07 15:58:11 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-07-07 15:58:11 +0200 |
commit | 0abcf0a421e26a17de00d3bf3a890da1f1689c16 (patch) | |
tree | 0cc91408477ffe54c1586db1bb1e22fb5ab65e80 /apps/files/ajax/newfile.php | |
parent | c63db28eafbe4745faf44a4774cc857e830939c9 (diff) | |
download | nextcloud-server-0abcf0a421e26a17de00d3bf3a890da1f1689c16.tar.gz nextcloud-server-0abcf0a421e26a17de00d3bf3a890da1f1689c16.zip |
CSRF checks
Diffstat (limited to 'apps/files/ajax/newfile.php')
-rw-r--r-- | apps/files/ajax/newfile.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/ajax/newfile.php b/apps/files/ajax/newfile.php index edb78414872..7236deb65c9 100644 --- a/apps/files/ajax/newfile.php +++ b/apps/files/ajax/newfile.php @@ -4,6 +4,7 @@ OCP\JSON::checkLoggedIn(); +OCP\JSON::callCheck(); // Get the params $dir = isset( $_POST['dir'] ) ? stripslashes($_POST['dir']) : ''; |