Patch upload can fail (The file contents (text/plain charset=us-ascii) do not match its extension (patch).) on Linux when mimedetect is enabled. Maybe this should be mentioned in readme. After disabling mimedetect the patch is uploaded successfully and displayed as "text/x-diff".
Comments
Comment #1
skizzo commentedI should maybe add that my MimeDetect module is using PHP's fileinfo extension to detect MIME types, and it has no settings...
Comment #2
aidanlis commentedI think maybe this should be a bug against the mimedetect module?
Comment #3
manuel.adanClosing this as outdated, feel free to re-open if you're still looking for a solution and waiting for appropriate assistance.