Skip to content

Commit

Permalink
Merge pull request #2990 from metacpan/haarg/google-csp-header
Browse files Browse the repository at this point in the history
update CSP header for modern Google Analytics and reCAPTCHA
  • Loading branch information
haarg authored Feb 10, 2024
2 parents d9c4e70 + b739822 commit 89e0a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.psgi
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ builder {
"frame-ancestors 'self' *.metacpan.org",

# temporary 'unsafe-eval' because root/static/js/jquery.tablesorter.js
"script-src 'self' 'unsafe-eval' 'unsafe-inline' *.metacpan.org *.google-analytics.com *.google.com www.gstatic.com",
"script-src 'self' 'unsafe-eval' 'unsafe-inline' *.metacpan.org https://*.googletagmanager.com https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/",

),
'X-Frame-Options' => 'SAMEORIGIN',
Expand Down

0 comments on commit 89e0a4b

Please sign in to comment.