1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-29 06:07:11 +02:00

Add support for application/dash+xml in replace= option

Related feedback:
https://github.com/uBlockOrigin/uAssets/issues/25164#issuecomment-2326358453
This commit is contained in:
Raymond Hill 2024-09-03 10:14:15 -04:00
parent 856dc419b5
commit 91125d29cf
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -680,6 +680,7 @@ const bodyFilterer = (( ) => {
const sessions = new Map(); const sessions = new Map();
const reContentTypeCharset = /charset=['"]?([^'" ]+)/i; const reContentTypeCharset = /charset=['"]?([^'" ]+)/i;
const otherValidMimes = new Set([ const otherValidMimes = new Set([
'application/dash+xml',
'application/javascript', 'application/javascript',
'application/json', 'application/json',
'application/mpegurl', 'application/mpegurl',