mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Make the unknown decoder pick up <table> and <div>. Bug 83480, r=rpotts,
sr=darin
This commit is contained in:
parent
bc4ff1a138
commit
cc5252cce0
@ -341,9 +341,15 @@ void nsUnknownDecoder::DetermineContentType(nsIRequest* request)
|
||||
if (offset < 0) {
|
||||
offset = str.Find("<BODY", PR_TRUE);
|
||||
if (offset < 0) {
|
||||
offset = str.Find("<A HREF", PR_TRUE);
|
||||
offset = str.Find("<TABLE", PR_TRUE);
|
||||
if (offset < 0) {
|
||||
offset = str.Find("<APPLET", PR_TRUE);
|
||||
offset = str.Find("<DIV", PR_TRUE);
|
||||
if (offset < 0) {
|
||||
offset = str.Find("<A HREF", PR_TRUE);
|
||||
if (offset < 0) {
|
||||
offset = str.Find("<APPLET", PR_TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user