diff --git a/netwerk/protocol/http/nsHttpChannel.cpp b/netwerk/protocol/http/nsHttpChannel.cpp index 5f6d3ce596d..9fd5d033409 100644 --- a/netwerk/protocol/http/nsHttpChannel.cpp +++ b/netwerk/protocol/http/nsHttpChannel.cpp @@ -2958,7 +2958,7 @@ nsHttpChannel::OpenCacheEntry(bool isHttps) uint32_t cacheEntryOpenFlags; bool offline = gIOService->IsOffline() || appOffline; if (offline || (mLoadFlags & INHIBIT_CACHING)) { - if (BYPASS_LOCAL_CACHE(mLoadFlags) && !offline) { + if (BYPASS_LOCAL_CACHE(mLoadFlags) && !offline && !PossiblyIntercepted()) { goto bypassCacheEntryOpen; } cacheEntryOpenFlags = nsICacheStorage::OPEN_READONLY;