From e17432809713f72db574e6252e0569377278031d Mon Sep 17 00:00:00 2001 From: eban Date: Sun, 16 Jan 2005 15:12:02 +0000 Subject: [PATCH] * lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/uri/common.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a2d13ad388..aa03f06292 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jan 17 00:09:42 2005 WATANABE Hirofumi + + * lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256] + Sat Jan 15 14:57:22 2005 Nobuyoshi Nakada * 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})?"