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

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

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

fguillot
Copy link
Member

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?

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.
@fguillot fguillot linked an issue Oct 31, 2024 that may be closed by this pull request
1 task
@fguillot fguillot merged commit 7c5d6cf into main Oct 31, 2024
16 checks passed
@fguillot fguillot deleted the content_disposition_proxified_media branch October 31, 2024 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Content-Disposition header for proxified media URLs
1 participant