Summary

uri-generic fails with match error on IPv6 addresses using bracket notation

Metadata

Description

According to [[https://tools.ietf.org/html/rfc3986]|] (section 3.2.2 and following) IPv6 literals don't simply use a colon to separate the address from the port, but require you to wrap brackets around the address. This doesn't seem to be supported in uri-generic 3.0:

 (uri-reference "http://[::1]:8080")
 
 Error: (match) no matching pattern
 
         Call history:
 
         <syntax>          (uri-reference "http://[::1]:8080")
         <eval>    (uri-reference "http://[::1]:8080")   <--

Changes and comments

[2018-09-09 14:55:40 UTC] sjamaan changed status from new to closed

[2018-09-09 14:55:40 UTC] sjamaan set resolution to fixed

[2018-09-09 14:55:40 UTC] sjamaan wrote:

Thanks for reporting this! We've fixed this in uri-generic 2.45 and 3.1.