Opened 2 months ago

Closed 2 months ago

#1530 closed defect (fixed)

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

Reported by: wasamasa Owned by:
Priority: minor Milestone: someday
Component: extensions Version: 5.0.0rc1
Keywords: Cc:
Estimated difficulty:

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")   <--

Change History (1)

comment:1 Changed 2 months ago by sjamaan

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.