1
0
miroir de https://github.com/nextcloud/server.git synchronisé 2024-08-05 20:16:00 +02:00

Added a missing CSRF check

Cette révision appartient à :
Lukas Reschke 2012-09-22 11:02:03 +02:00
Parent 80aa44565b
révision ac79fe649c

Voir le fichier

@ -21,6 +21,8 @@
require_once '../../lib/base.php';
OC_JSON::checkLoggedIn();
OCP\JSON::callCheck();
if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSource'])) {
switch ($_POST['action']) {
case 'share':