CSP nonce
-
Hi,
I try to include scripts-styles nonces thru template_redirect hook, works well but there’s 2 scripts remaining out of scope cause they are generated by LSCache plugin. Those are with ‘data-no-optimize’ property in just after head and before /body tags, so they’ve no nonce set.
Is there a way to add them a nonce and add those nonces to CSP extra header ? I tried with litespeed_buffer_after but it does not work
Thanks a lot
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘CSP nonce’ is closed to new replies.