Summary
uri-generic fails with match error on IPv6 addresses using bracket notation
Metadata
- Id: c396d77e2377f12755ee14e8c050ca47034f5284
- Trac id: 1530
- Type: defect
- Reporter: wasamasa
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: someday
- Version: 5.0.0rc1
- Changetime: 2018-09-09 14:55:40 UTC
- Created: 2018-09-03 10:55:03 UTC
- Keywords:
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.