| Index: lib/matcher.js |
| =================================================================== |
| --- a/lib/matcher.js |
| +++ b/lib/matcher.js |
| @@ -312,22 +312,24 @@ |
| { |
| // We need to skip the simple (location-only) filters if the type mask does |
| // not contain any default content types. |
| if ((typeMask & DEFAULT_TYPES) != 0) |
| { |
| let simpleSet = this._simpleFiltersByKeyword.get(keyword); |
| if (simpleSet) |
| { |
| + let lowerCaseLocation = location.toLowerCase(); |
| + |
| for (let filter of simpleSet) |
| { |
| if (specificOnly && !(filter instanceof WhitelistFilter)) |
| continue; |
| - if (filter.matchesLocation(location)) |
| + if (filter.matchesLocation(location, lowerCaseLocation)) |
| { |
| if (!collection) |
| return filter; |
| collection.push(filter); |
| } |
| } |
| } |