Updates:
Summary: Web page without a Content-Type header isn't sniffed as HTML
due
to our stricter DOCTYPE requirements
Status: WontFix
Comment #5 on issue 7542 by [email protected]: Web page without a
Content-Type header isn't sniffed as HTML due to our stricter DOCTYPE
requirements
http://code.google.com/p/chromium/issues/detail?id=7542
The problem is that this document doesn't haven an Content-Type header and
starts with the
following line:
<! Templates\ASPModel:Mainframe.htm >
Firefox sniffs HTML from "<!" but we have a more strict pattern that
requires "<!DOCTYPE html"
in this case to prevent attacks involving SOAP services. You can fix this
in three ways:
1) (Preferred) Add a Content-Type header that describes the type of this
response.
2) Remove the "<! Templates\ASPModel:Mainframe.htm >" line from the top of
the response.
3) Add a doctype above the template line (e.g., "<!DOCTYPE html>").
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---