Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
abepark01 committed Apr 11, 2024
1 parent aaeaca3 commit ab84b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carrierwave/utilities/uri.rb
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 ab84b5d

Please sign in to comment.