Hash :
f1541342
Author :
Date :
2020-12-01T23:10:29
input-protection tolerance=50; input-protection-clip before=60; input-protection-selectors div; policy-uri https://example.com; script-src example.com; script-src-attr 'none'; style-src-elem 'none';
----------------------------------------------------
[
["directive", "input-protection"],
" tolerance=50; ",
["directive", "input-protection-clip"],
" before=60; ",
["directive", "input-protection-selectors"],
" div; ",
["directive", "policy-uri"],
" https://example.com; ",
["directive", "script-src"],
" example.com; ",
["directive", "script-src-attr"],
["safe", "'none'"],
"; ",
["directive", "style-src-elem"],
["safe", "'none'"],
";"
]
----------------------------------------------------
Checks for CSP directive followed by a source expression.