mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
fix bug 18624. r=nhotta a=chofmann. remove ; after text/html; when we do attribute comparison
This commit is contained in:
parent
0736dba2e9
commit
5516255d30
@ -211,7 +211,7 @@ NS_IMETHODIMP nsMetaCharsetObserver::Notify(
|
||||
contentValue=valueArray[i];
|
||||
}
|
||||
static nsAutoString contenttype("Content-Type");
|
||||
static nsAutoString texthtml("text/html;");
|
||||
static nsAutoString texthtml("text/html");
|
||||
if((nsnull != httpEquivValue) &&
|
||||
(nsnull != contentValue) &&
|
||||
((0==nsCRT::strcasecmp(httpEquivValue,contenttype.GetUnicode())) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user