apps/dav/lib/connector/publicauth.php 1 location
|
@@ 93-98 (lines=6) @@
|
| 90 |
|
|
| 91 |
|
} |
| 92 |
|
return true; |
| 93 |
|
} else if (\OC::$server->getSession()->exists('public_link_authenticated') |
| 94 |
|
&& \OC::$server->getSession()->get('public_link_authenticated') === (string)$linkItem['id']) { |
| 95 |
|
return true; |
| 96 |
|
} else { |
| 97 |
|
return false; |
| 98 |
|
} |
| 99 |
|
} else if ($linkItem['share_type'] == \OCP\Share::SHARE_TYPE_REMOTE) { |
| 100 |
|
return true; |
| 101 |
|
} else { |
apps/files_sharing/lib/helper.php 1 location
|
@@ 162-168 (lines=7) @@
|
| 159 |
|
} |
| 160 |
|
|
| 161 |
|
} |
| 162 |
|
else { |
| 163 |
|
// not authenticated ? |
| 164 |
|
if ( ! \OC::$server->getSession()->exists('public_link_authenticated') |
| 165 |
|
|| \OC::$server->getSession()->get('public_link_authenticated') !== (string)$linkItem['id']) { |
| 166 |
|
return false; |
| 167 |
|
} |
| 168 |
|
} |
| 169 |
|
return true; |
| 170 |
|
} |
| 171 |
|
|
lib/private/share/share.php 1 location
|
@@ 2480-2483 (lines=4) @@
|
| 2477 |
|
return true; |
| 2478 |
|
} |
| 2479 |
|
|
| 2480 |
|
if ( \OC::$server->getSession()->exists('public_link_authenticated') |
| 2481 |
|
&& \OC::$server->getSession()->get('public_link_authenticated') === (string)$linkItem['id'] ) { |
| 2482 |
|
return true; |
| 2483 |
|
} |
| 2484 |
|
|
| 2485 |
|
return false; |
| 2486 |
|
} |