Skip to content

Commit

Permalink
Fix CarrierWave::Storage::Fog::File#public_url regression
Browse files Browse the repository at this point in the history
  • Loading branch information
abepark01 committed Apr 11, 2024
1 parent aaeaca3 commit b65241b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carrierwave/utilities/uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Uri
private

def encode_path(path)
URI::DEFAULT_PARSER.escape(path, PATH_UNSAFE)
URI::DEFAULT_PARSER.escape(path.to_s, PATH_UNSAFE)
end

def encode_non_ascii(str)
Expand Down

0 comments on commit b65241b

Please sign in to comment.