On Sun, Aug 19, 2001 at 11:29:18PM +0300, Stanislav Malyshev wrote:
> It does even worse. It tries to guess file type from the content. I hope
> somebody will invent some worm that uses this misfeature so that they
> would finally fix it...

Guessing the file-type from the first few magic bytes is
probably a good thing (especially in the case where other
methods have failed, and the MIME type has fallen back to
application/octet-stream or something equally unhelpful).

The bug here is that it ignores the explicit Content-Type
header instead of its own detection mechanisms, which is
clearly bad.

Anyone want to file a Microsoft bug report? :-)


PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to