mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12490] [MERGED] Set Content-Disposition header to attachment for image endpoints #13221
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/12490
Author: @nielsvanvelzen
Created: 8/21/2024
Status: ✅ Merged
Merged: 8/22/2024
Merged by: @crobibero
Base:
release-10.9.z← Head:content-disposition📝 Commits (1)
3cc65a0Set Content-Disposition header to attachment for image endpoints📊 Changes
3 files changed (+5 additions, -0 deletions)
View changed files
📝
Jellyfin.Api/Controllers/ImageController.cs(+2 -0)📝
Jellyfin.Api/Controllers/PluginsController.cs(+2 -0)📝
Jellyfin.Api/Controllers/TrickplayController.cs(+1 -0)📄 Description
The server serves images in various endpoints, those are meant to be displayed in the various clients and not for sharing. Setting the content disposition header to
attachmentwill force a browser to download the images when opened directly instead of displaying them in the browser.Changes
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.