1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-01 16:33:06 +01:00

Add more mimes as valid target for response filtering

Related feedback:
7c3e060c01 (commitcomment-131754750)

application/vnd.apple.mpegurl
Reference:
https://www.iana.org/assignments/media-types/application/vnd.apple.mpegurl

application/vnd.api+json
Reference:
https://www.iana.org/assignments/media-types/application/vnd.api+json
This commit is contained in:
Raymond Hill 2023-11-05 12:50:03 -05:00
parent 2de1ebc2c3
commit b69b0b5fb9
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -689,6 +689,8 @@ const bodyFilterer = (( ) => {
const otherValidMimes = new Set([ const otherValidMimes = new Set([
'application/javascript', 'application/javascript',
'application/json', 'application/json',
'application/vnd.apple.mpegurl',
'application/vnd.api+json',
'application/xml', 'application/xml',
'application/xhtml+xml', 'application/xhtml+xml',
]); ]);