#651: I give up, going back to previous code for M1757604
This commit is contained in:
parent
7a3073423e
commit
de1b50053f
|
@ -752,7 +752,7 @@ nsJARChannel::GetContentType(nsACString &aResult)
|
||||||
{
|
{
|
||||||
// If the Jar file has not been open yet,
|
// If the Jar file has not been open yet,
|
||||||
// We return application/x-unknown-content-type
|
// We return application/x-unknown-content-type
|
||||||
if (!mOpened && mContentType.IsEmpty()) {
|
if (!mOpened || mContentType.IsEmpty()) {
|
||||||
aResult.Assign(UNKNOWN_CONTENT_TYPE);
|
aResult.Assign(UNKNOWN_CONTENT_TYPE);
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue