Project

General

Profile

ActionsLike0

Feature #10911

closed

IPAddr.new should ignore zone identifiers

Added by postmodern (Hal Brodigan) about 10 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
[ruby-core:68331]

Description

Link local IPv6 addresses may have a zone identifier suffix:

fe80::1%lo0

IPAddr.new currently does not ignore the zone identifier and raises IPAddr::InvalidAddressError.


Files

ipaddr-ipv6-zone-id-10911.patch (5.17 KB) ipaddr-ipv6-zone-id-10911.patch jeremyevans0 (Jeremy Evans), 10/31/2019 04:16 PM

Added by jeremyevans (Jeremy Evans) over 3 years ago

Revision bd6e1a0f

[ruby/ipaddr] Support zone identifiers in IPv6 addresses

These are supported by Ruby's socket library if the operating system
supports zone indentifiers, so they should be supported by ipaddr.
See RFCs 4007 and 6874 for additional information.

Implements Ruby Feature #10911

https://github.com/ruby/ipaddr/commit/09a6408fb2

ActionsLike0

Also available in: Atom PDF