Hash :
a943f2bb
Author :
Date :
2021-12-18T13:26:17
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",
["punctuation", ";"],
["directive", "input-protection-clip"],
" before=60",
["punctuation", ";"],
["directive", "input-protection-selectors"],
" div",
["punctuation", ";"],
["directive", "policy-uri"],
["host", ["https://example.com"]],
["punctuation", ";"],
["directive", "script-src"],
["host", ["example.com"]],
["punctuation", ";"],
["directive", "script-src-attr"],
["none", "'none'"],
["punctuation", ";"],
["directive", "style-src-elem"],
["none", "'none'"],
["punctuation", ";"]
]
----------------------------------------------------
Checks for CSP directive followed by a source expression.