[ENGG-1977] MV3: 2KB limit for regexFilter in DNR
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #1869 của @wrongsahil — đã merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- devtools
Hướng nghiên cứu
Start by reproducing the Chrome declarativeNetRequest error with host-based regex rules and review the linked regex-rules documentation. Compare the suggested URL source conditions and redirect-rule approach against the affected replace-rule use cases. Done means supported rules no longer exceed the 2KB compiled regexFilter limit.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When creating host regex rules Unchecked runtime.lastError: Rule with id 1 was skipped as the "regexFilter" value exceeded the 2KB memory limit when compiled. Learn more: https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest#regex-rules
Possible Solutions
1. Using URL source conditions instead of HOST source conditions
If you are using HOST - EQUALS | CONTAINS | MATCHES | WILDCARD, then try switching it to URL source condition.
2. Try using Redirect Rule
Almost all the usecases that are supported by replace rule are also supported by Redirect Rule . Try creating a redirect rule instead
Some patterns to convert Replace rule into Redirect rule
Pattern 1
Current Replace Rule
Converted Redirect Rule
Pattern 2
Current Replace Rule
Converted Redirect Rule
- Ngôn ngữ chính
- TypeScript
- Star
- 96
- Fork
- 25
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 requestly/interceptor
-
status:triage type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
requestly/interceptor#130 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Query parameter rules drop equals signs from existing valuesCó thể đã có người làm @jashkarangiya đã nhận 22 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
requestly/interceptor#121 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:triage type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
requestly/interceptor#128 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
requestly/interceptor#26 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Setting up proxy on mobile/emulator via QRCó thể làm lại được @chiru-chintha đã nhận 164 ngày trước và không có pull request nào đang mở. Đang mởmigration:misfiled-interceptor
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
requestly/interceptor#27 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của requestly/interceptor
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Comfy-Org/ComfyUI_frontend#20346 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
decentralized-identity/didwebvh-ts#203 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
lingdojo/kana-dojo#31791 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Telegram webhook: line breaks lost since switch to rich messagesCó thể đã có người làm @Kshot3000 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
github_actions security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày