summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-07 16:08:27 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-07 16:08:27 +0200
commit2c318f45f4ac47c7646407692910e1fc72bf07c2 (patch)
tree00a26e26208ec7380984c8002b252e591758695c
parent04a0755fd364b16bfb461382b1409fbb6336a359 (diff)
downloadnextcloud-server-2c318f45f4ac47c7646407692910e1fc72bf07c2.tar.gz
nextcloud-server-2c318f45f4ac47c7646407692910e1fc72bf07c2.zip
CSRF checks
-rw-r--r--apps/files_texteditor/ajax/savefile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_texteditor/ajax/savefile.php b/apps/files_texteditor/ajax/savefile.php
index 961db7105e3..f3ac323e32f 100644
--- a/apps/files_texteditor/ajax/savefile.php
+++ b/apps/files_texteditor/ajax/savefile.php
@@ -26,6 +26,7 @@
// Check if we are a user
OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
// Get paramteres
$filecontents = isset($_POST['filecontents']) ? $_POST['filecontents'] : false;