Skip to content

Commit

Permalink
Merge pull request #117 from PikachuEXE/replace-deprecated-method-usage
Browse files Browse the repository at this point in the history
Replace deprecated method usage
  • Loading branch information
sdsykes committed Jul 23, 2020
2 parents 099c5e4 + 0d4dd4a commit c57b07d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -9,3 +9,4 @@ rvm:
- 2.4
- 2.5
- 2.6
- 2.7
2 changes: 1 addition & 1 deletion lib/fastimage.rb
Expand Up @@ -282,7 +282,7 @@ def escaped_location(location)
begin
URI(location)
rescue URI::InvalidURIError
URI.escape(location)
::URI::DEFAULT_PARSER.escape(location)
else
location
end
Expand Down

0 comments on commit c57b07d

Please sign in to comment.