Use rate limiter policy classes and drop the /api/reading path bypass
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 66/100
Hướng nghiên cứu
Search for ContentRateLimiterPolicy, McpRateLimiterPolicy, the inline reading API limiter lambdas, and the global limiter's /api/reading bypass. Read the limiter registration and the reading API endpoint configuration first. Extract the reading policies as named policy classes and apply them with RequireRateLimiting; done means routed reading endpoints retain their intended limits and unrouted requests under /api/reading are no longer bypassed.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The reading API rate limits are inline lambdas with magic numbers, and the global limiter special-cases /api/reading with a no-limiter bypass, so unrouted requests under that path are unlimited. The repo convention is policy classes (ContentRateLimiterPolicy, McpRateLimiterPolicy). Extract policies, name them accurately (GET profile currently uses a 'Write' policy), and use RequireRateLimiting/named policies instead of a path bypass.
Found during review of #1267; intentionally kept out of that PR.
- Ngôn ngữ chính
- HTML
- Star
- 8
- Fork
- 8
- Merge trung bình
- 3 giờ 24 phút
- Pull request đã merge (30 ngày)
- 91
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của IntelliTect/EssentialCSharp.Web
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
IntelliTect/EssentialCSharp.Web#1610 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Replace repeated GetUserId() boilerplate with a ClaimsPrincipal extension or endpoint filterĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
IntelliTect/EssentialCSharp.Web#1606 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
IntelliTect/EssentialCSharp.Web#1605 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
IntelliTect/EssentialCSharp.Web#1743 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
IntelliTect/EssentialCSharp.Web#1742 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của IntelliTect/EssentialCSharp.Web
Issue tương tự
-
needs-kind
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
villagesql/villagesql-server#1702 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
eclipse-edc/IdentityHub#1296 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
cloudfoundry/uaa#4194 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
activepieces/activepieces#17974 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày