aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-23 22:43:08 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-04-26 10:35:37 +0200
commit392337fa13028be2ef03f0f9d09ac224d8aa6818 (patch)
tree46ac4b0b292dcb15de8a3aae2fb9f56f973a3062 /apps/dav/appinfo
parentb6c58e75b754fc7a5f6873b51934be16a8365d8f (diff)
downloadnextcloud-server-392337fa13028be2ef03f0f9d09ac224d8aa6818.tar.gz
nextcloud-server-392337fa13028be2ef03f0f9d09ac224d8aa6818.zip
Throttle requests to unknown tokens
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v2/direct.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v2/direct.php b/apps/dav/appinfo/v2/direct.php
index 633d69a3c3d..3762a628303 100644
--- a/apps/dav/appinfo/v2/direct.php
+++ b/apps/dav/appinfo/v2/direct.php
@@ -38,7 +38,10 @@ $server = $serverFactory->createServer(
$baseuri,
$requestUri,
\OC::$server->getRootFolder(),
- \OC::$server->query(\OCA\DAV\Db\DirectMapper::class)
+ \OC::$server->query(\OCA\DAV\Db\DirectMapper::class),
+ \OC::$server->query(\OCP\AppFramework\Utility\ITimeFactory::class),
+ \OC::$server->getBruteForceThrottler(),
+ \OC::$server->getRequest()
);
$server->exec();