[PR #862] [MERGED] ignore corrupt (unable to read mime type) attachments #962

Closed
opened 2026-03-03 00:23:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BoostIO/BoostNote-App/pull/862
Author: @ButteryCrumpet
Created: 3/12/2021
Status: Merged
Merged: 3/13/2021
Merged by: @Rokt33r

Base: masterHead: bug/ignore-corrupt-attachments


📝 Commits (1)

  • d902d10 ignore corrupt (unable to read mime type) attachments

📊 Changes

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

View changed files

📝 static/main-preload.js (+2 -2)

📄 Description

Correctly handle undefined on mime type extraction.

This will cause corrupt attachments to be ignored.


🔄 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/BoostIO/BoostNote-App/pull/862 **Author:** [@ButteryCrumpet](https://github.com/ButteryCrumpet) **Created:** 3/12/2021 **Status:** ✅ Merged **Merged:** 3/13/2021 **Merged by:** [@Rokt33r](https://github.com/Rokt33r) **Base:** `master` ← **Head:** `bug/ignore-corrupt-attachments` --- ### 📝 Commits (1) - [`d902d10`](https://github.com/BoostIO/BoostNote-App/commit/d902d10984a87d06ef18ad279e8bdeb019d1c386) ignore corrupt (unable to read mime type) attachments ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `static/main-preload.js` (+2 -2) </details> ### 📄 Description Correctly handle `undefined` on mime type extraction. This will cause corrupt attachments to be ignored. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:23:59 +03: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/BoostNote-App#962
No description provided.