Skip to content

Commit f4631ec

Browse files
authored
rate limit share creation 40 times per 10 minute
no goal stated; just copied from review comment Signed-off-by: biredel <67849440+biredel@users.noreply.github.com>
1 parent 68cded4 commit f4631ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_sharing/lib/Controller/ShareAPIController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ public function deleteShare(string $id): DataResponse {
587587
* 200: Share created
588588
*/
589589
#[NoAdminRequired]
590-
#[UserRateLimit(limit: 200, period: 600)]
590+
#[UserRateLimit(limit: 40, period: 600)]
591591
public function createShare(
592592
?string $path = null,
593593
?int $permissions = null,

0 commit comments

Comments
 (0)