lib/retriever/page.rb in rubyretriever-1.2.3 vs lib/retriever/page.rb in rubyretriever-1.2.4

- old
+ new

@@ -50,10 +50,10 @@ Link.new(@t.scheme, @t.host, link).path end.compact.uniq end def parse_internal - links.select { |x| @t.host == Addressable::URI.parse(x).host } + links.select { |x| @t.host == Addressable::URI.parse(Addressable::URI.encode(x)).host } end def parse_internal_visitable parse_internal.select { |x| !(NONPAGE_EXT_RE =~ x) } end