Risks with NULL Mime type

Hello,

 

Happy New Year to everyone.

 

I am not sure if this is the right group for my question. Please advise me
otherwise.

 

 

1)      How safe is it for clients to handle NULL mime types and allow
actions based on file extensions when MIME TYPE is null.


Example:  Server is hosting APK file with NULL MIME TYPE. Most browser will
download it but install may fail if browser is checking MIME TYPE for
appropriate handler. One workaround is to check file extension in this case
and search appropriate handler. 


Are there any potential risks to this approach ? 

 

2)      How common is it to have NULL Mime type files hosted by servers ? 

 

 

 

 

Best Regards

Amit 

 

Received on Thursday, 2 January 2014 02:58:39 UTC