Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL-encoded filename when downloading in Safari #201

Closed
luaneko opened this issue Mar 30, 2023 · 0 comments · Fixed by #203
Closed

URL-encoded filename when downloading in Safari #201

luaneko opened this issue Mar 30, 2023 · 0 comments · Fixed by #203

Comments

@luaneko
Copy link

luaneko commented Mar 30, 2023

Problem

Files downloaded from dufs in Safari have URL-encoded name which is not decoded by the browser automatically. Relevant StackOverflow issue.

For example, given a file named "Track 01.flac":

image

The name of the downloaded file remains URL-encoded "Track%2001.flac":

image

Headers returned by the file response:

HTTP/2 200 
accept-ranges: bytes
content-disposition: inline; filename="Track%2001.flac"
content-type: audio/flac
...

Environment:

  • Dufs version: 0.33.0
  • Browser/Webdav Info: Safari 16.3 (18614.4.6.1.6)
  • OS Info: Ventura 13.2.1 (22D68)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant