Comment #12 on issue 3792 by nano...@gmail.com: Outlook message (.msg extension) upload fails in 2.0.13
https://code.google.com/p/reviewboard/issues/detail?id=3792

Hi David,

I can see _guess_mimetype is implemented using pipe and some chunks of input file

maybe it can help for you information

file --mime-type -b  ~/Downloads/CQ_03176_Test_Record.doc
application/msword

cat  ~/Downloads/CQ_03176_Test_Record.doc |file --mime-type -b -
application/CDFV2-corrupt

looks like our problem to guess mimetype

So maybe using file --mime-type -b path could fix most use case?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to