[Bug 20924] binary files are incorrectly detected as application/zip
https://bugzilla.wikimedia.org/show_bug.cgi?id=20924 Bryan Tong Minh bryan.tongm...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bryan.tongm...@gmail.com Resolution||INVALID --- Comment #7 from Bryan Tong Minh bryan.tongm...@gmail.com 2010-04-11 22:07:15 UTC --- Cf. comment #6 this is really a zip file, so closing as invalid, since rejecting those files is the actual purpose. (As a side note, perhaps we could have something like a zip stripper?) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 20924] binary files are incorrectly detected as application/zip
https://bugzilla.wikimedia.org/show_bug.cgi?id=20924 --- Comment #8 from Platonides platoni...@gmail.com 2010-04-11 22:55:05 UTC --- I don't like the idea of changing the user file, but it could perhaps be integrated into new-upload: Your file seems rotated. Fix?, Currently I cannot accept this file with zip data included. Strip? This case would (should?) be easy to strip. Another Office app also likes to embed its own format into pngs, which we could remove, and pngs with garbage appended are common, too. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 20924] binary files are incorrectly detected as application/zip
https://bugzilla.wikimedia.org/show_bug.cgi?id=20924 Platonides platoni...@gmail.com changed: What|Removed |Added CC||platoni...@gmail.com --- Comment #5 from Platonides platoni...@gmail.com 2009-12-06 19:13:23 UTC --- It's not matching it as a zip by pure chance. That file contains a zip-like structure embedded. For instance, 7-zip is able to open it, showing inside the files ObjectPool/, [5]SummaryInformation, WordDocument, [1]CompObj, 1Table and [5]DocumentSummaryInformation. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 20924] binary files are incorrectly detected as application/zip
https://bugzilla.wikimedia.org/show_bug.cgi?id=20924 --- Comment #6 from Platonides platoni...@gmail.com 2009-12-06 19:18:29 UTC --- The list given by unzip -l seems more reliable: warning: 6060 extra bytes at beginning or within zipfile (attempting to process anyway) Length EAs ACLsDate TimeName --- 540 0 0 01/01/80 00:00 [Content_Types].xml 310 0 0 01/01/80 00:00 _rels/.rels 138 0 0 01/01/80 00:00 theme/theme/themeManager.xml 7559 0 0 01/01/80 00:00 theme/theme/theme1.xml 283 0 0 01/01/80 00:00 theme/theme/_rels/themeManager.xml.rels - - --- 8830 0 0 5 files Those xml contain openxml content. Looks like Microsoft Office is lying when told to save in the old format, by still including data in openxml format. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 20924] binary files are incorrectly detected as application/zip
https://bugzilla.wikimedia.org/show_bug.cgi?id=20924 Carl Johnstone carl.johnst...@gmgrd.co.uk changed: What|Removed |Added CC||carl.johnst...@gmgrd.co.uk Summary|certain mac word (2000) .doc|binary files are incorrectly |files are incorrectly |detected as application/zip |detected as application/zip | --- Comment #3 from Carl Johnstone carl.johnst...@gmgrd.co.uk 2009-11-19 14:59:06 UTC --- I've had this with a Windows Word document, unfortunately it also happened to be the first file I tried to upload to a newly installed wiki. In theory there's approximately a 1 in 65000 chance that the check will match any 64k of binary data and would equally apply to any file type including images. Ideally the detection needs to be improved, failing that a clearer error message to the user would help. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l