0
[feature]: Valid file uploads (CSV, MD) failing with "Invalid file type" due to strict browser MIME matching
Source: makeplane/plane#9494 · opened by @Alexoswin
Is there an existing issue for this? • I have searched the existing issues Summary Feature Request: Expand Allowed Attachment File Types & Improve MIME Type Validation Description Currently, the self-hosted version of Plane implements a very strict whitelist for file uploads via the ATTACHMENT_MIME_TYPES setting in plane/settings/common.py. While this provides security, it results in a poor user experience because: 1. Many standard file types are missing from the list. 2. Different operating systems and browsers often send slightly different MIME type strings for the exact same file extension (e.g., .md sent as text/plain or text/x-markdown, .csv sent as application/csv). When a user tries to upload a perfectly safe, standard file, if their browser's inferred MIME type doesn't perfectly match Plane's hardcoded list, they receive a generic {"error": "Invalid file type.", "status": False} response. Proposed Solution We propo…
No pledges yet. Be the first to back this.
Comments
Similar requests
[feature]: Missing MIME type support for Microsoft Office macro-enabled and binary files
0 votes · 0 comments
[feature]: Automatically move issues that are passed due date to a Backlog state
0 votes · 0 comments
[feature]: Allow video attachments in ticket comments
7 votes · 0 comments
[feature]: Relative dates on work item and project templates
2 votes · 0 comments
Importing Issues from Excel or CSV Files
8 votes · 0 comments
No comments yet.