yes same problem here.
I'm on ubuntu too.
I' think it's a problem bound to proprietary file types.
Take a look at /etc/mime.types for mime supported by your system.

For me the problem comes with .doc documents. It says that it is a
application/vnd.ms-office instead of ms-word

This is why microsoft sucks.

On 17 Giu, 15:22, Gustavo Adrian <comfortablynum...@gmail.com> wrote:
> Is someone having this issue?
>
> 2011/6/16 Gustavo Adrian <comfortablynum...@gmail.com>
>
>
>
>
>
>
>
> > 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