[PR #2945] [MERGED] Allow Windows' version of the MIME types for raw photos. #9787

Closed
opened 2026-02-05 14:10:45 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2945
Author: @elliotclee
Created: 6/25/2023
Status: Merged
Merged: 6/25/2023
Merged by: @alextran1502

Base: mainHead: raw-mime-variety


📝 Commits (2)

  • f6cadae Allow Windows' version of the MIME types for raw photos.
  • a7ec5bf Fix prettier warning.

📊 Changes

3 files changed (+84 additions, -0 deletions)

View changed files

📝 server/src/domain/domain.constant.ts (+27 -0)
📝 server/src/immich/config/asset-upload.config.spec.ts (+28 -0)
📝 web/src/lib/utils/asset-utils.spec.ts (+29 -0)

📄 Description

On Windows, the registry sets MIME types for raw images that are different than the ones used on other operating systems, which are then used by the browser when uploading. This patch accepts both variants for upload.


🔄 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/immich-app/immich/pull/2945 **Author:** [@elliotclee](https://github.com/elliotclee) **Created:** 6/25/2023 **Status:** ✅ Merged **Merged:** 6/25/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `raw-mime-variety` --- ### 📝 Commits (2) - [`f6cadae`](https://github.com/immich-app/immich/commit/f6cadae54fc9fdd2b0316c9e381b0b470d0c6f84) Allow Windows' version of the MIME types for raw photos. - [`a7ec5bf`](https://github.com/immich-app/immich/commit/a7ec5bf3482925cd5cd6d1573d4bfc17d1a4838d) Fix prettier warning. ### 📊 Changes **3 files changed** (+84 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/src/domain/domain.constant.ts` (+27 -0) 📝 `server/src/immich/config/asset-upload.config.spec.ts` (+28 -0) 📝 `web/src/lib/utils/asset-utils.spec.ts` (+29 -0) </details> ### 📄 Description On Windows, the registry sets MIME types for raw images that are different than the ones used on other operating systems, which are then used by the browser when uploading. This patch accepts both variants for upload. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:10:45 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9787