[PR #1757] [MERGED] Fix mime type for jar files #1554

Closed
opened 2026-02-04 19:56:34 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1757
Author: @Boy132
Created: 9/29/2025
Status: Merged
Merged: 10/1/2025
Merged by: @Boy132

Base: mainHead: boy132/fix-jar-mime


📝 Commits (2)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 app/Models/File.php (+1 -1)

📄 Description

Closes #1755

If the file name ends with .jar but the mime type is an archive (e.g. a zip) change the mime type to application/jar.


🔄 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/pelican-dev/panel/pull/1757 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 9/29/2025 **Status:** ✅ Merged **Merged:** 10/1/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-jar-mime` --- ### 📝 Commits (2) - [`53e3645`](https://github.com/pelican-dev/panel/commit/53e3645b84bb08a4c966ab16d4482126f04b3054) fix mime type for jar files - [`e6dce61`](https://github.com/pelican-dev/panel/commit/e6dce61a3ebd79415a87942b95f1ab5f2052f8c5) lower file name ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/Models/File.php` (+1 -1) </details> ### 📄 Description Closes #1755 If the file name ends with `.jar` but the mime type is an archive (e.g. a zip) change the mime type to `application/jar`. --- <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-04 19:56:34 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1554