diff options
author | Brion Vibber <brion@pobox.com> | 2010-05-10 16:18:29 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-06-28 08:59:47 -0700 |
commit | 9c7b66984c46668f314f93337d28c62854b6d134 (patch) | |
tree | 75c9c75503803f8d863a7bd04f33c2f139a37849 /actions/leavegroup.php | |
parent | 41d81b996fdd8276cc04e750297a12f852a97bf4 (diff) |
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.
Diffstat (limited to 'actions/leavegroup.php')
0 files changed, 0 insertions, 0 deletions