fix(files_sharing): rate limit share creation 10 times per 10 minutes #54886
Triggered via pull request
February 19, 2025 15:12
Status
Failure
Total duration
10m 45s
Artifacts
–
static-code-analysis.yml
on: pull_request
static-code-analysis
3m 4s
static-code-analysis-security
10m 29s
static-code-analysis-ocp
1m 42s
static-code-analysis-ncu
57s
Annotations
2 errors
InvalidNamedArgument:
apps/files_sharing/lib/Controller/ShareAPIController.php#L560
apps/files_sharing/lib/Controller/ShareAPIController.php:560:29: InvalidNamedArgument: Parameter $duration does not exist on function OCP\AppFramework\Http\Attribute\UserRateLimit::__construct (see https://psalm.dev/238)
|
static-code-analysis
Process completed with exit code 2.
|