| Index: lib/filterClasses.js |
| =================================================================== |
| --- a/lib/filterClasses.js |
| +++ b/lib/filterClasses.js |
| @@ -753,18 +753,16 @@ |
| if (separatorIndex >= 0) |
| { |
| value = option.substr(separatorIndex + 1); |
| option = option.substr(0, separatorIndex); |
| } |
| option = option.replace(/-/, "_").toUpperCase(); |
| if (option in RegExpFilter.typeMap) |
| { |
| - if (contentType == null) |
| - contentType = 0; |
| contentType |= RegExpFilter.typeMap[option]; |
| if (option == "CSP" && value) |
| csp = value; |
| } |
| else if (option[0] == "~" && option.substr(1) in RegExpFilter.typeMap) |
| { |
| if (contentType == null) |