Cannot parse URI without authority component
还没有人认领这个 Issue。
评估
调研方向
issue 中没有指定源文件或测试。首先找到 URI 解析入口点及现有的 parser 测试,然后使用 unix:///tmp/agent.sock 和 unix:/tmp/agent.sock 这两个示例运行相关测试套件。只要两种无 authority 的 schema 形式都能成功解析,且不破坏现有的 URI 验证,就算完成。
由索引模型根据 Issue 内容生成。
描述
Trying to parse an URI like unix:///tmp/agent.sock or unix:/tmp/agent.sock, that has a schema and not an authority, produces an Error InvalidaUri(InvalidFormat).
There is no restriction defined in the URI standard that would make these URIs invalid.
The use-case I have is connecting to a SPIFFE Workload Endpoint: https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE_Workload_Endpoint.md#4-locating-the-endpoint.
- 主要语言
- Rust
- 星标
- 1.4k
- 派生
- 385
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperium/http 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 62/100
-
难度 3/5 1-2 天 新手友好度 58/100
相似的 Issue
-
area:desktop priority:p2 type:bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
fritzprix/libr-agent#2165 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
-
area:ecosystem bug
难度 2/5 1-3 小时 新手友好度 75/100
Chelis-Lang/chelis#3942 ·
维护者通常 1 天内回复