Bug: curated starter accepts an empty URL fragment despite its no-fragments contract
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #37 của @drevendev — đã merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Review examples/curated-starter/curate.py and the existing candidate fix in beautifulrepo/workshop-hardening-20261018; this issue says that work is already underway. Check the regression cases for /#, /path#, /#section, and /%23, then run the repository checks. Done means the empty literal fragment is rejected while %23 remains accepted and the listed URL behaviors are preserved.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Reproduced on the public product
Review: 2026-10-19; master c2cbcf07ae67263ec7dbeb7cfb5822ea65b49c38.
examples/curated-starter/curate.py, blob 32cdddb2b79696ee2bb75dfa37ca7105292ef22a.
checked_url() accepts https://example.org/# and https://example.org/path#. A trailing literal # introduces an empty fragment, but parts.fragment is the empty string, so the current truthiness check misses it. The curated starter explicitly intends to reject fragment-bearing URLs.
Priority and existing work
P2 contract regression. A candidate fix already exists in beautifulrepo/workshop-hardening-20261018; review that work instead of creating another implementation. It has not reached the reviewed master.
Acceptance
- Reject a literal fragment delimiter even when the fragment text is empty.
- Continue accepting the encoded character
%23within an otherwise valid path/query. - Add regression cases for
/#,/path#,/#sectionand/%23. - Preserve original no-credentials, URL encoding and deterministic-output behavior.
- Run current full repository checks before integration.
This is deliberately separate from #26: the core catalog and curated starter have different fragment policies. Do not apply a global fragment ban to the core catalog merely to unify implementations.
- Ngôn ngữ chính
- Python
- Star
- 2
- Fork
- 0
- Merge trung bình
- 7 giờ 30 phút
- Pull request đã merge (30 ngày)
- 78
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 drevendev/BeautifulRepo
-
Retire the hacktoberfest label: it claims participation the programs guide rules outCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdocumentation self-check
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
drevendev/BeautifulRepo#100 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
epic real-case
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
drevendev/BeautifulRepo#88 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
epic private-repos
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
drevendev/BeautifulRepo#87 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-skill epic
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
drevendev/BeautifulRepo#86 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Real case: Quillgrain and Quillgrain_Common — show the CLI result and make reporting routes trueĐang mởreal-case
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
drevendev/BeautifulRepo#83 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của drevendev/BeautifulRepo
Issue tương tự
-
Project submission:Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slavakurilyak/awesome-ai-agents#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directoryCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdifficulty:2 enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
MakazhanAlpamys/Soup#2178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-valuesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
scverse/rapids-singlecell#854 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGLCó thể đã có người làm @ninglinLiu đã nhận hôm nay. Đang mởarea:frontend backend:slang bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
random_elements(unique=True) on an OrderedDict: ZeroDivisionError once only zero weights remain, AssertionError with use_weighting=FalseCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 13 ngày