Bug #1787 » lib_uri_common-r3-w.patch
| 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 |
|
||
|
# ";" | ":" | "&" | "=" | "+" | "$" | "," )
|
||
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »