Closed msievers closed 9 years ago
If no base_url is given d34837c0d1bac643b05e9f2bc8618006c2b0f932 produces incorrect URIs.
Example
# base_url is "" because of nil.to_s URI.parse(File.join("", "http://localhost")) # => #<URI::Generic /http://localhost>
Easiest way to fix this is to add a conditional for the case base_url.empty?.
base_url.empty?
Good catch. Thanks.
If no base_url is given d34837c0d1bac643b05e9f2bc8618006c2b0f932 produces incorrect URIs.
Example
Easiest way to fix this is to add a conditional for the case
base_url.empty?
.