1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00

Enfore implicit media type for filters using mp4

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2568
This commit is contained in:
Raymond Hill 2023-03-30 13:25:45 -04:00
parent b68a7dbad4
commit d58309674d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -3587,6 +3587,7 @@ class FilterCompiler {
if ( this.processModifierOption(id, 'noopmp4-1s') === false ) { if ( this.processModifierOption(id, 'noopmp4-1s') === false ) {
return this.FILTER_INVALID; return this.FILTER_INVALID;
} }
this.processTypeOption(sfp.NODE_TYPE_NET_OPTION_NAME_MEDIA, false);
this.optionUnitBits |= this.REDIRECT_BIT; this.optionUnitBits |= this.REDIRECT_BIT;
break; break;
} }