electron: fallback to load archived version instead of 404 if full url given
dependency: update to latest electron 11 minor version (11.4.8)
This commit is contained in:
@@ -310,9 +310,9 @@ class ElectronReplayApp
|
||||
}
|
||||
}
|
||||
|
||||
// possible 'live leak' attempt, just return not found
|
||||
// possible 'live leak' attempt, return archived version, if any
|
||||
if (request.referrer && request.referrer.startsWith(REPLAY_PREFIX)) {
|
||||
return this.notFound(request.url, callback);
|
||||
return await this.resolveArchiveResponse(request, callback);
|
||||
}
|
||||
|
||||
await this.proxyLive(request, callback);
|
||||
|
||||
Reference in New Issue
Block a user