summaryrefslogtreecommitdiff
path: root/tests/sample-uploads/image.png
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-05-10 16:18:29 -0700
committerBrion Vibber <brion@pobox.com>2010-06-28 08:59:47 -0700
commit9c7b66984c46668f314f93337d28c62854b6d134 (patch)
tree75c9c75503803f8d863a7bd04f33c2f139a37849 /tests/sample-uploads/image.png
parent41d81b996fdd8276cc04e750297a12f852a97bf4 (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 'tests/sample-uploads/image.png')
-rw-r--r--tests/sample-uploads/image.pngbin0 -> 159 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/sample-uploads/image.png b/tests/sample-uploads/image.png
new file mode 100644
index 000000000..60cbcfd17
--- /dev/null
+++ b/tests/sample-uploads/image.png
Binary files differ