https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38365

--- Comment #372 from Jonathan Druart <[email protected]> ---
Created attachment 195268
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195268&action=edit
Bug 38365: Add Koha::Template::Plugin::Koha::CSPNonce

This patch adds a new Template plugin method, Koha.CSPNonce, that can be used
to
attach the Content Security Policy nonce into our templates.

To test:
1. prove t/Koha/Middleware/ContentSecurityPolicy.t
2. prove t/db_dependent/Koha/Template/Plugin/Koha.t

Signed-off-by: David Cook <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>
Signed-off-by: David Cook <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to