mirage / ocaml-uri

RFC3986 URI parsing library for OCaml
Other
97 stars 57 forks source link

Invalid parsing of ports #175

Open leostera opened 8 months ago

leostera commented 8 months ago

Hi folks, filing this for reference.

At the moment when we parse localhost:-1 it becomes localhost/-1 whereas I'd expect it to either: