ocaml-uri
ocaml-uri copied to clipboard
Invalid parsing of ports
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:
- parse the port as a negative integer, and let me validate afterward
- or fail to parse entirely with an invalid port error