[Pkg-owncloud-commits] [owncloud] 11/73: Added XSRF check

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:08:58 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.

commit 5192eecce239a0b7ade1e60a6cf03075e5cfc188
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Fri Aug 10 00:11:04 2012 +0200

    Added XSRF check
---
 core/ajax/appconfig.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/core/ajax/appconfig.php b/core/ajax/appconfig.php
index 84e0710..bf749be 100644
--- a/core/ajax/appconfig.php
+++ b/core/ajax/appconfig.php
@@ -7,6 +7,7 @@
 
 require_once ("../../lib/base.php");
 OC_Util::checkAdminUser();
+OCP\JSON::callCheck();
 
 $action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
 $result=false;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list