Merge branch 'master' of github.com:classilla/tenfourfox

This commit is contained in:
Cameron Kaiser 2023-04-16 13:20:41 -07:00
commit 7c9617ab51
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;
}