diff --git a/lib/ldp/response.rb b/lib/ldp/response.rb index df86386..e17ccda 100644 --- a/lib/ldp/response.rb +++ b/lib/ldp/response.rb @@ -193,7 +193,7 @@ def content_length def content_disposition_filename filename = content_disposition_attributes['filename'] - URI.decode(filename) if filename + URI::DEFAULT_PARSER.unescape(filename) if filename end private