From 91125d29cfa6eab89eb9f2ed19dc535dcf3f8d73 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 3 Sep 2024 10:14:15 -0400 Subject: [PATCH] Add support for `application/dash+xml` in `replace=` option Related feedback: https://github.com/uBlockOrigin/uAssets/issues/25164#issuecomment-2326358453 --- src/js/traffic.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/traffic.js b/src/js/traffic.js index 4777a8470..38ba7264b 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -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',