News for hackers. Stuff that matters.
Re:Mimetypes versus Extensions by phene on Sunday June 17, 2012 @12:09AM (#4122208)
The unfortunate thing with mime-types, is that even though you get text/* or image/*, they are not reliable. For example, how do you ask "is this an image I can reliably put into an <img/> tag and have it successfully render?" From what I've seen, the only options are whitelists of specific content types or extensions.

There are no comments on this comment yet.