From de1b50053f7285d2170478a94a6936beb5c2fa0b Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Sun, 25 Sep 2022 18:59:02 -0700 Subject: [PATCH] #651: I give up, going back to previous code for M1757604 --- modules/libjar/nsJARChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libjar/nsJARChannel.cpp b/modules/libjar/nsJARChannel.cpp index b34db6d1c..dee2863d7 100644 --- a/modules/libjar/nsJARChannel.cpp +++ b/modules/libjar/nsJARChannel.cpp @@ -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; }