This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
nextcloud
mirror of
https://github.com/nextcloud/server.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
1010
Wiki
Activity
Browse Source
Added a missing CSRF check
tags/v4.5.0RC1
Lukas Reschke
11 years ago
parent
80aa44565b
commit
ac79fe649c
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
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':
Write
Preview
Loading…
Cancel
Save