Fixes bug 92438 "http 0.9 rendered as content-type: text/plain with Java applets"

patch=cahagn_o@epita.fr, r=bbaetz, sr=darin
This commit is contained in:
darin%netscape.com 2001-08-02 00:54:30 +00:00
parent 26664deea8
commit ff6f9e69d0

View File

@ -298,6 +298,9 @@ void nsUnknownDecoder::DetermineContentType(nsIRequest* request)
offset = str.Find("<BODY", PR_TRUE);
if (offset < 0) {
offset = str.Find("<A HREF", PR_TRUE);
if (offset < 0) {
offset = str.Find("<APPLET", PR_TRUE);
}
}
}
}