mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
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:
parent
26664deea8
commit
ff6f9e69d0
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user