summaryrefslogtreecommitdiff
path: root/lib/uri
diff options
context:
space:
mode:
authorakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-09 11:07:36 +0000
committerakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-09 11:07:36 +0000
commit8edab1a9b47f91ac5b26844ac2890c9eaf163eec (patch)
tree742f1a17afeddb9750b9cc5ed02cb8c7d271792d /lib/uri
parent1c09059ed85227d8feeab11f38e64e4cd506a1d8 (diff)
make case insensitive for host-part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r--lib/uri/generic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb
index 59f36ad4c3..d0eb403158 100644
--- a/lib/uri/generic.rb
+++ b/lib/uri/generic.rb
@@ -947,7 +947,7 @@ Object
self.query, self.fragment)
if rel.userinfo != oth.userinfo ||
- rel.host != oth.host ||
+ rel.host.downcase != oth.host.downcase ||
rel.port != oth.port
rel.set_port(nil) if rel.port == oth.default_port
return rel, rel