diff options
author | jahoti <jahoti@tilde.team> | 2021-07-22 00:00:00 +0000 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-07-26 11:09:57 +0200 |
commit | e402e0363cd55f7f849c20c1acd96de548ebc9a6 (patch) | |
tree | 84cd250c2ebc18c0ec27a7af68ce978eb47e0a86 /common | |
parent | fba4820bec6714115ef03bd4bdfd714ba485ac2c (diff) | |
download | browser-extension-e402e0363cd55f7f849c20c1acd96de548ebc9a6.tar.gz browser-extension-e402e0363cd55f7f849c20c1acd96de548ebc9a6.zip |
Fix some bugs in the refined CSP handling
Diffstat (limited to 'common')
-rw-r--r-- | common/misc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/misc.js b/common/misc.js index 6af2327..0d8466e 100644 --- a/common/misc.js +++ b/common/misc.js @@ -159,7 +159,7 @@ function parse_csp(csp) { let directive, directive_array; let directives = {}; for (directive of csp.split(';')) { - directive = directive.trim; + directive = directive.trim(); if (directive === '') continue; |