Fixes bug 75177. r=bbeatz, sr=dougt, patch by: darin.
git-svn-id: svn://10.0.0.236/trunk@99762 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -296,6 +296,9 @@ void nsUnknownDecoder::DetermineContentType(nsIRequest* request)
|
||||
offset = str.Find("<SCRIPT", PR_TRUE);
|
||||
if (offset < 0) {
|
||||
offset = str.Find("<BODY", PR_TRUE);
|
||||
if (offset < 0) {
|
||||
offset = str.Find("<A HREF", PR_TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user