- commit
- 67a7926f8f35dd983d5f76fe23767a66c8d3532d
- parent
- b4688c21f88b5c51166b0df3e306008e8db02ac4
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-07-30 19:37
ignore wildcard in first-party
Diffstat
| M | shared.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared.js b/shared.js
@@ -16,7 +16,7 @@ shared.TYPE_MAP = {
16 16
17 17 shared.shouldAllow = function(rules, context, hostname, type) {
18 18 var hostnames = ['*', hostname];
19 -1 if (context === hostname) {
-1 19 if (context === hostname && context !== '*') {
20 20 hostnames.push('first-party');
21 21 }
22 22 var parts = hostname.split('.');