diff options
author | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-08 10:36:50 +0000 |
---|---|---|
committer | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-08 10:36:50 +0000 |
commit | 80a0920f5fb30fe8e05ba21fcc58c2de393e2ae1 (patch) | |
tree | c079531a65908c5333a511126542f3bf081098ac /lib/uri | |
parent | 6901d03914a2274750146aa060f8cce2e58c6d28 (diff) | |
download | ruby-80a0920f5fb30fe8e05ba21fcc58c2de393e2ae1.tar.gz |
* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
-> (?::#{PORT}). [ruby-dev:23170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/common.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index fbb3558a32..c9b3e0de70 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 | # ";" | ":" | "&" | "=" | "+" | "$" | "," ) |