We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08270ab commit 55fbd63Copy full SHA for 55fbd63
lib/rdf/ntriples/reader.rb
@@ -272,9 +272,8 @@ def read_comment
272
def read_uriref(intern: false, **options)
273
if uri_str = match(URIREF)
274
uri_str = self.class.unescape(uri_str)
275
- uri = RDF::URI.send(intern? && intern ? :intern : :new, uri_str)
+ uri = RDF::URI.send(intern? && intern ? :intern : :new, uri_str, canonicalize: canonicalize?)
276
uri.validate! if validate?
277
- uri.canonicalize! if canonicalize?
278
uri
279
end
280
rescue ArgumentError
0 commit comments