diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/uri/common.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Jan 17 00:09:42 2005 WATANABE Hirofumi <eban@ruby-lang.org> + + * lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256] + Sat Jan 15 14:57:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * ruby.c (proc_options): ignore trailing CRs at the end of short diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 1e59c0fa33..cb00bc1148 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -88,7 +88,7 @@ module URI # host = hostname | IPv4address | IPv6reference (RFC 2732) HOST = "(?:#{HOSTNAME}|#{IPV4ADDR}|#{IPV6REF})" # port = *digit - PORT = "\d*" + PORT = '\d*' # hostport = host [ ":" port ] HOSTPORT = "#{HOST}(?::#{PORT})?" |