mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1214277 - Avoid bypassing opening a cache entry for possibly intercepted channels; r=mcmanus
This commit is contained in:
parent
d720715921
commit
590f4e13ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user