[PR #9061] [MERGED] Verify ContentType of uploaded images #11780

Closed
opened 2025-12-22 08:56:24 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/9061
Author: @Bond-009
Created: 1/10/2023
Status: Merged
Merged: 2/16/2023
Merged by: @Bond-009

Base: masterHead: ct


📝 Commits (2)

📊 Changes

4 files changed (+93 additions, -16 deletions)

View changed files

📝 Jellyfin.Api/Controllers/ImageController.cs (+50 -15)
📝 MediaBrowser.Model/Net/MimeTypes.cs (+5 -0)
tests/Jellyfin.Api.Tests/Controllers/ImageControllerTests.cs (+36 -0)
📝 tests/Jellyfin.Model.Tests/Net/MimeTypesTests.cs (+2 -1)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/9061 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 1/10/2023 **Status:** ✅ Merged **Merged:** 2/16/2023 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `ct` --- ### 📝 Commits (2) - [`60f41b8`](https://github.com/jellyfin/jellyfin/commit/60f41b80f66cc866c018c58e4567726cb6dac90d) Verify ContentType of uploaded images - [`a38cb3a`](https://github.com/jellyfin/jellyfin/commit/a38cb3ade8f3dc50e1a5d968c6b6ac68306bc5bb) Fix tests ### 📊 Changes **4 files changed** (+93 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Controllers/ImageController.cs` (+50 -15) 📝 `MediaBrowser.Model/Net/MimeTypes.cs` (+5 -0) ➕ `tests/Jellyfin.Api.Tests/Controllers/ImageControllerTests.cs` (+36 -0) 📝 `tests/Jellyfin.Model.Tests/Net/MimeTypesTests.cs` (+2 -1) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 08:56:24 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#11780
No description provided.