Revision e402e036
Added by jahoti about 2 years ago
common/misc.js | ||
---|---|---|
159 | 159 |
let directive, directive_array; |
160 | 160 |
let directives = {}; |
161 | 161 |
for (directive of csp.split(';')) { |
162 |
directive = directive.trim; |
|
162 |
directive = directive.trim();
|
|
163 | 163 |
if (directive === '') |
164 | 164 |
continue; |
165 | 165 |
|
Also available in: Unified diff
Fix some bugs in the refined CSP handling