We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a915594 commit 2847461Copy full SHA for 2847461
1 file changed
apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php
@@ -50,7 +50,7 @@ public function initialize(\Sabre\DAV\Server $server) {
50
* @return bool
51
*/
52
public function handleAnonymousOptions(RequestInterface $request, ResponseInterface $response) {
53
- if ($request->getMethod() === 'OPTIONS') {
+ if ($request->getHeader('Authorization') === null && $request->getMethod() === 'OPTIONS') {
54
/** @var CorePlugin $corePlugin */
55
$corePlugin = $this->server->getPlugin('core');
56
// setup a fake tree for anonymous access
0 commit comments