Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPercent-encode tilde in application/x-www-form-urlencoded #100
Conversation
|
Why this change? It is against spec: https://url.spec.whatwg.org/#percent-encoded-bytes |
|
I guess we're mixing up https://url.spec.whatwg.org/#concept-urlencoded-byte-serializer and https://url.spec.whatwg.org/#percent-encoded-bytes ? (The former is used by Fetch/XHR) |
|
Looks like I completely misread the patch, sorry! Yes indeed, |
Percent-encode tilde in application/x-www-form-urlencoded
|
Let me know if you need this on crates.io and/or a backport to an earlier Rust version for Servo. |
|
Hopefully the Servo rustup will land soon. |
|
If not a backport (that would be cool), at least I would want someone to explain to me how the fuck do I override rust-url with my own while still enabling the feature "query_encoding". =) |
|
Ok, I published version 0.2.32 on crates.io. To override, create a To enable [dependencies.url]
version = "0.2.32"
features = ["query_encoding"](And remove the previous entry for rust-url, something like The two really should be orthogonal. If enabling features doesn’t work with overrides, that may be a bug in Cargo. |
|
I reported it upstream: rust-lang/cargo#1571. |
|
Have you tried what I explained above? |
nox commentedMay 1, 2015
No description provided.