Project

General

Profile

Bug #18165 ยป 0001-Make-resolv-accept-dash-in-zone_id-of-IPv6-link-loca.patch

kanashiro (Lucas Kanashiro), 09/13/2021 10:32 PM

View differences:

lib/resolv.rb
Regex_8HexLinkLocal = /\A
[Ff][Ee]80
(?::[0-9A-Fa-f]{1,4}){7}
%[0-9A-Za-z]+
%[0-9A-Za-z\-]+
\z/x
##
......
|
:((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)
)?
:[0-9A-Fa-f]{1,4}%[0-9A-Za-z.]+
:[0-9A-Fa-f]{1,4}%[0-9A-Za-z.\-]+
\z/x
##
    (1-1/1)