Browse Source

Added a missing CSRF check

tags/v4.5.0RC1
Lukas Reschke 11 years ago
parent
commit
ac79fe649c
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      core/ajax/share.php

+ 2
- 0
core/ajax/share.php View File

@@ -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':

Loading…
Cancel
Save