WebAssembly / WebAssembly/WASI
Specify that percent-encoded domain names are unsupported
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 333
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
If I go to %78.com in the browser, that takes me to x.com. Indeed in RFC9110 §3.2.2, percent-encoding is allowed in HTTPS authorities:
reg-name = *( unreserved / pct-encoded / sub-delims )
But, let's just save ourselves the trouble and forbid percent-encoding in domain names. FWIW, wasmtime fails if the host part of an authority has a %.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing RFC9110 §3.2.2 and the %78.com example, then compare the repository's relevant authority-handling rules with wasmtime's behavior. Done means the applicable specification clearly states how percent-encoded domain names are handled and the resulting behavior is consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100