1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01: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 reContentTypeCharset = /charset=['"]?([^'" ]+)/i;
const otherValidMimes = new Set([
'application/dash+xml',
'application/javascript',
'application/json',
'application/mpegurl',