#651: I give up, going back to previous code for M1757604

This commit is contained in:
Cameron Kaiser 2022-09-25 18:59:02 -07:00
parent 7a3073423e
commit de1b50053f
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ nsJARChannel::GetContentType(nsACString &aResult)
{
// If the Jar file has not been open yet,
// We return application/x-unknown-content-type
if (!mOpened && mContentType.IsEmpty()) {
if (!mOpened || mContentType.IsEmpty()) {
aResult.Assign(UNKNOWN_CONTENT_TYPE);
return NS_OK;
}