Closed jeremy closed 9 months ago
Given an .ai file with an application/postscript declared type, the filename extension would be ignored as a potential subtype of the application/pdf magic-byte-detected type.
Fix by evaluating all candidate types rather than a single fallback.
I just happened to see this today: carrierwaveuploader/carrierwave#2704
Given an .ai file with an application/postscript declared type, the filename extension would be ignored as a potential subtype of the application/pdf magic-byte-detected type.
Fix by evaluating all candidate types rather than a single fallback.