":" in relative path within relative reference
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
該 issue 未指定檔案或測試;首先在 Python 套件中找到相對參照解析與驗證的進入點。為 '.://' 新增一個回歸案例,並根據所引用的 RFC 語法驗證它會被拒絕。
由索引模型根據 Issue 內容生成。
描述
'.://' should not parse. It is not an absolute URI because '.' is not a valid scheme, and it is not a relative URI because a path-noscheme cannot begin with a ':'.
The relevant grammar rules from the RFC:
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
relative-ref = relative-part [ "?" query ] [ "#" fragment ]
relative-part = "//" authority path-abempty
/ path-absolute
/ path-noscheme
/ path-empty
path-noscheme = segment-nz-nc *( "/" segment )
segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
; non-zero-length segment without any colon ":"
- 主要語言
- Python
- 星號
- 189
- 分支
- 43
- 平均合併
- 12 小時 14 分鐘
- 30 天內合併 PR
- 2
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
python-hyper/rfc3986 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 86/100
python-hyper/rfc3986#164 ·
-
ParseResultBytes.unsplit() raises AttributeError for a reference without an authority可能已有人在做 @mayuriphad 於 1 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
python-hyper/rfc3986#163 ·
-
難度 3/5 1-2 天 新手友好度 45/100
python-hyper/rfc3986#138 · 1 則留言 ·
-
sdist is missing `tox.ini`可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 55/100
python-hyper/rfc3986#129 ·
-
wrong parse未關閉
難度 3/5 1-2 天 新手友好度 38/100
python-hyper/rfc3986#128 ·
查看 python-hyper/rfc3986 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
-
bug
難度 2/5 1-3 小時 新手友好度 77/100
AstrBotDevs/AstrBot#10720 ·
維護者通常 1 天內回覆
-
cause/upstream comp/cli P2 provider/other tool/file type/bug
難度 2/5 1-3 小時 新手友好度 78/100
NousResearch/hermes-agent#143900 ·
維護者通常 1 天內回覆
-
難度 1/5 1-3 小時 新手友好度 85/100
WLAN-Pi/wlanpi-profiler#341 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
維護者通常 1 天內回覆