mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 17:19:38 +02:00
Do not bail out when content-disposition
is inline
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2656
This commit is contained in:
parent
e79d9b2f85
commit
a3a80e3b3f
@ -857,7 +857,8 @@ const filterDocument = (( ) => {
|
||||
}
|
||||
}
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1426789
|
||||
if ( headerValueFromName('content-disposition', headers) ) { return; }
|
||||
const disposition = headerValueFromName('content-disposition', headers);
|
||||
if ( disposition !== '' && disposition.startsWith('inline') === false ) { return; }
|
||||
|
||||
const stream = request.stream =
|
||||
browser.webRequest.filterResponseData(extras.requestId);
|
||||
|
Loading…
Reference in New Issue
Block a user