• Brion Vibber's avatar
    Enhanced upload file type detection. If given an original filename, we'll... · 9c7b6698
    Brion Vibber authored
    Enhanced upload file type detection. If given an original filename, we'll attempt to detect type from the extension if we were unable to make a definitive match from content. Generic octet-stream, zip, and MS Office type are explicitly singled out for re-checks, which fixes OpenOffice and MS Office documents to come up with the proper types when misdetected.
    File extensions can also be added to the upload type whitelist; they'll be normalized to types for the actual comparison, so only known extensions will work.
    9c7b6698
Name
Last commit
Last update
..
image.gif Loading commit data...
image.jpeg Loading commit data...
image.jpg Loading commit data...
image.png Loading commit data...
office.pdf Loading commit data...
presentation.odp Loading commit data...
presentation.otp Loading commit data...
presentation.pot Loading commit data...
presentation.potm Loading commit data...
presentation.ppt Loading commit data...
presentation.pptx Loading commit data...
spreadsheet.ods Loading commit data...
spreadsheet.ots Loading commit data...
spreadsheet.xls Loading commit data...
spreadsheet.xlsx Loading commit data...
spreadsheet.xlt Loading commit data...
wordproc.doc Loading commit data...
wordproc.docx Loading commit data...
wordproc.odt Loading commit data...
wordproc.ott Loading commit data...
wordproc.rtf Loading commit data...