miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.97k stars 727 forks source link

feat(mediaproxy): pass original filename in `Content-Disposition` header #2920

Closed fguillot closed 3 weeks ago

fguillot commented 3 weeks ago

When you download/save proxified media, the original filename is lost. That information could be retained by passing a header Content-Disposition: inline; filename="ORIGNAL_FILENAME.EXT" when serving the media file. The requested URL would still be obfuscated, but if the client downloads the file it'll use that original filename.

Do you follow the guidelines?