diff --git a/netwerk/mime/src/nsMIMEInfoImpl.cpp b/netwerk/mime/src/nsMIMEInfoImpl.cpp index 85d1256ce1f2..794616b70b19 100644 --- a/netwerk/mime/src/nsMIMEInfoImpl.cpp +++ b/netwerk/mime/src/nsMIMEInfoImpl.cpp @@ -39,6 +39,7 @@ nsMIMEInfoImpl::InExtensions(nsIAtom* anIAtom) { nsString2 extension; anIAtom->ToString(extension); + // XXX this is broken. need to use gessner's tokenizer stuff to delimit the commas if (mFileExtensions.Find(extension) == -1) return PR_FALSE; return PR_TRUE; diff --git a/uriloader/exthandler/nsMIMEInfoImpl.cpp b/uriloader/exthandler/nsMIMEInfoImpl.cpp index 85d1256ce1f2..794616b70b19 100644 --- a/uriloader/exthandler/nsMIMEInfoImpl.cpp +++ b/uriloader/exthandler/nsMIMEInfoImpl.cpp @@ -39,6 +39,7 @@ nsMIMEInfoImpl::InExtensions(nsIAtom* anIAtom) { nsString2 extension; anIAtom->ToString(extension); + // XXX this is broken. need to use gessner's tokenizer stuff to delimit the commas if (mFileExtensions.Find(extension) == -1) return PR_FALSE; return PR_TRUE;