mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-08-12 16:25:19 +00:00
#651: I give up, going back to previous code for M1757604
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user