summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-08 10:36:50 +0000
committerakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-08 10:36:50 +0000
commit136bec0d9823088a3dd888eae62ee57f5e066e50 (patch)
tree82d7fc8aeb578891f5dc33cd3a4a3d3abcdd12a5 /lib
parent1bb78e8edff8e2b63b744e02b6fb0e33a636eef1 (diff)
downloadruby-136bec0d9823088a3dd888eae62ee57f5e066e50.tar.gz
ruby-136bec0d9823088a3dd888eae62ee57f5e066e50.tar.xz
ruby-136bec0d9823088a3dd888eae62ee57f5e066e50.zip
* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
-> (?::#{PORT}). [ruby-dev:23170] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 fbb3558a3..c9b3e0de7 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -90,7 +90,7 @@ module URI
# port = *digit
PORT = "\d*"
# hostport = host [ ":" port ]
- HOSTPORT = "#{HOST}(?:#{PORT})?"
+ HOSTPORT = "#{HOST}(?::#{PORT})?"
# userinfo = *( unreserved | escaped |
# ";" | ":" | "&" | "=" | "+" | "$" | "," )