Hi all,

I wanted to ask you guys if you've found a "definitive" way to handle mime
type detection issues. I recently implemented file upload handling in my app
with Symfony 2 and I'm having problems detecting, for example, .docx files.
When I upload a .docx, it detects a mime type of "application/zip". I have
this issue with other file types too (like .csv).

I know this is not a Symfony 2 specific problem, I had this problem before,
but I'd like to know what do you think about this. I'm using right now:

Apache 2.2.16
PHP 5.3.3
Ubuntu 11

and I have FileInfo v1.0.5-dev


How do you handle this situations?


Thanks.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to