Project

General

Profile

Bug #1787 » lib_uri_common-r3-w.patch

ignore whole whitespace changes. - drry (drry  ), 10/11/2009 01:55 AM

View differences:

lib/uri/common.rb (作業コピー)
# host = hostname | IPv4address | IPv6reference (RFC 2732)
ret[:HOST] = host = "(?:#{hostname}|#{ipv4addr}|#{ipv6ref})"
# port = *digit
port = '\d*'
ret[:PORT] = port = '\d*'
# hostport = host [ ":" port ]
ret[:HOSTPORT] = hostport = "#{host}(?::#{port})?"
hostport = "#{host}(?::#{port})?"
# userinfo = *( unreserved | escaped |
# ";" | ":" | "&" | "=" | "+" | "$" | "," )
(6-6/6)