I'm fairly sure the problem is in the regex at uri.ex#L195, which does not take into account that IPv6 URLs have : inside them in places other than the port number. I will look into this when I get the time.
The regexp used for parsing URIs comes from RFC3986 (http://tools.ietf.org/html/rfc3986#appendix-B), which already takes into account IPv6 addresses. You're right @Nicd, it comes from that other regexp used for splitting the authority.
Try the following:
Expected result: "[2607:f3f0:2:0:216:3cff:fef0:174a]"
Actual result: "[2607"
Running Elixir 0.10.2-dev.
The text was updated successfully, but these errors were encountered: