Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\ is incorrectly disallowed in Uri path components #277

Closed
sfackler opened this issue Nov 6, 2018 · 2 comments
Closed

\ is incorrectly disallowed in Uri path components #277

sfackler opened this issue Nov 6, 2018 · 2 comments

Comments

@sfackler
Copy link
Contributor

sfackler commented Nov 6, 2018

From looking at the URL Standard, it seems like this should be allowed, and the url crate does allow it.

https://url.spec.whatwg.org/#path-percent-encode-set
https://play.rust-lang.org/?version=stable&mode=debug&edition=2015&gist=e7792c01ca5bbc5063a022305bba2d40

@sfackler
Copy link
Contributor Author

sfackler commented Nov 6, 2018

It does seem like the url crate should be escaping \s in paths, though: servo/rust-url#468.

@sfackler
Copy link
Contributor Author

sfackler commented Nov 6, 2018

I think this is actually a url problem, not an http problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant