mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11699] Use MediaType instead of ToString and add text/ as disallowed mimetypes #12973
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?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11699
State: closed
Merged: Yes
Changes
Added text/plain and text/html to disallowed mime types as they will most likely be m3u8 playlists, which is not compatible with SharedHttpStream. Also had to change to ContentType.MediaType instead of ContentType.ToString as the latter includes the charset.
Issues
Fixes #11679