servo / rust-url

URL parser for Rust
https://docs.rs/url/
Apache License 2.0
1.27k stars 318 forks source link

Please add an option to not remove wellknown default ports from URL #834

Closed Revolution1 closed 1 year ago

Revolution1 commented 1 year ago

Describe the bug Just like the issue title said, if I feed a string into the parser, at least I can find a method to allow me serialize or just get back the exact string I feed in.

valenting commented 1 year ago

We've received a request like this before #706 My best suggestion is to have a wrapper for the URL that also holds the input you give it.