summaryrefslogtreecommitdiffstats
path: root/lib/uri
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uri')
-rw-r--r--lib/uri/generic.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb
index fd01f8979..1ca970de7 100644
--- a/lib/uri/generic.rb
+++ b/lib/uri/generic.rb
@@ -1066,6 +1066,7 @@ module URI
end
def eql?(oth)
+ self.class == oth.class &&
parser == oth.parser &&
self.component_ary.eql?(oth.component_ary)
end