Skip to content

Commit

Permalink
Merge ca4b1a5 into 817302a
Browse files Browse the repository at this point in the history
  • Loading branch information
paul committed Nov 23, 2019
2 parents 817302a + ca4b1a5 commit a55dc1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/async/http/endpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def authority(ignore_default_port = true)

# Return the path and query components of the given URL.
def path
buffer = @url.path || "/"
buffer = @url.path.dup || "/"

if query = @url.query
buffer = "#{buffer}?#{query}"
Expand Down Expand Up @@ -230,4 +230,4 @@ def tcp_endpoint
end
end
end
end
end

0 comments on commit a55dc1f

Please sign in to comment.