Closed hcarty closed 9 years ago
Example:
let uri = Uri.of_string "http://example.com/" in Uri.with_password uri None |> Uri.to_string
gives http://@example.com/
http://@example.com/
That's indeed surprising behavior. I've fixed it in 5c6210a. I'm not sure what I was thinking when I wrote that test...
Thanks for the quick fix!
Now published by ocaml/opam-repository#4326 as uri.1.9.1.
uri.1.9.1
Example:
gives
http://@example.com/