summaryrefslogtreecommitdiffstats
path: root/lib/uri
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-16 15:12:02 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-16 15:12:02 +0000
commita3f9cbee9898a336e1aa963d8b343ed685e4ae74 (patch)
tree9afd1e9f6b728afd10ee3bbb5d34c6a27301d583 /lib/uri
parent04487e1ddb5e6aec8d7595e3040b46acd63e0943 (diff)
downloadruby-a3f9cbee9898a336e1aa963d8b343ed685e4ae74.tar.gz
ruby-a3f9cbee9898a336e1aa963d8b343ed685e4ae74.tar.xz
ruby-a3f9cbee9898a336e1aa963d8b343ed685e4ae74.zip
* lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r--lib/uri/common.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 1e59c0fa3..cb00bc114 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})?"