fix(security): harden public CV edges
CI and Deploy / test (pull_request) Failing after 5m23s
CI and Deploy / deploy (pull_request) Has been skipped

This commit is contained in:
cesnimda
2026-08-15 20:53:16 +02:00
parent 74a1e0d845
commit 8ef8b098c8
13 changed files with 54 additions and 6 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ builder.Services.AddRateLimiter(options =>
options.AddPolicy("public-pdf", context =>
RateLimitPartition.GetFixedWindowLimiter(
partitionKey: $"public-pdf:{context.Request.RouteValues["slug"]?.ToString() ?? "unknown"}",
partitionKey: RateLimitPartitionKeys.PublicPdf(context),
factory: _ => new FixedWindowRateLimiterOptions
{
PermitLimit = 3,