Bucket IDs containing URL-reserved characters are not addressed literally
Maintainer thường phản hồi trong vòng 10 ngà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
- 62/100
Hướng nghiên cứu
Start by tracing Python get_events and the bucket specific immediate and queued endpoint URL construction described in the report. Add the repository owned supported server and wire regressions mentioned, covering reserved characters, fixed suffixes, query parameters, and force or heartbeat behavior. Run those regressions against the supported Flask API; done means each bucket ID is sent as one literal path segment encoded exactly once.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Current master c88cf12c interpolates bucket IDs directly into URL paths. The supported Flask API accepts an ID such as synthetic#fragment through an encoded route, but Python get_events sends /api/0/buckets/synthetic?limit=-1 instead of /api/0/buckets/synthetic%23fragment/events?limit=-1, losing the fixed events suffix into the fragment and returning 404. synthetic?query likewise changes URL syntax.
Expected: treat each bucket ID as one literal path segment, encoding it exactly once, for existing bucket-specific immediate and queued endpoints. Preserve fixed suffixes, query parameters and force/heartbeat semantics. Literal percent and escape-like IDs must not be decoded first. Slash IDs and server naming-policy changes are outside this report.
Reproduced with actual requests transport and an owned loopback listener against an immutable archive of fetched master; independent real Flask controls verify the reserved-character IDs are supported. Ordinary-name control passes. I am preparing repository-owned supported-server/wire regressions and a bounded repair.
- Ngôn ngữ chính
- Python
- Star
- 73
- Fork
- 76
- Merge trung bình
- 8 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 ActivityWatch/aw-client
-
query(cache=False) omits bypass and uses the server cacheCó thể đã có người làm @TimeToBuildBob đã nhận 26 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
ActivityWatch/aw-client#153 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
Many heartbeats and a unavailable server might lead to queue cloggingCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 10 ngày
Tất cả issue của ActivityWatch/aw-client
Issue tương tự
-
`gitlab_importer_v2` pipeline failing due to malformed YAML fileCó thể đã có người làm @Gowri213 đã nhận hôm nay. Đang mởbug Pipeline: Failure Priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
aboutcode-org/vulnerablecode#2523 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
intuitem/ciso-assistant-community#5380 ·
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
confluentinc/cp-ansible#2767 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
mesa/mesa#4223 · 1 bình luận ·
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 85/100
Maintainer thường phản hồi trong vòng 2 ngày