Skip to content

Commit

Permalink
Merge pull request #228 from mamantoha/fix-uri
Browse files Browse the repository at this point in the history
remove URI.parse
  • Loading branch information
mamantoha authored Jul 28, 2024
2 parents a370233 + 9dfb28e commit 3dcb6c5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ext/uri.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ class URI
class BadURIError < Exception
end

def self.parse(uri : URI)
uri.dup
end

def self.join(*args)
url = args[1..-1].reduce(URI.parse(args[0])) { |a, e| a.resolve(e) }

Expand Down

0 comments on commit 3dcb6c5

Please sign in to comment.