Skip to content

Commit

Permalink
Update CSP to add WAP URLs in base.html
Browse files Browse the repository at this point in the history
Add https://www.intel.com/content/dam/www/global/wap/* to `script-src` and `connect-src`. Remove any instance of google tag manager or google analytics
  • Loading branch information
mvincerx authored Jun 27, 2024
1 parent 6589f76 commit 98fe7bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/docs/_templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
data: https://*.github.io;
img-src 'self'
data: https://*.github.io https://github.com https://*.githubusercontent.com;
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.google-analytics.com https://tagmanager.google.com/ https://www.googletagmanager.com/ https://*.github.io;
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.intel.com/content/dam/www/global/wap/* https://*.github.io;
style-src 'self' data: https://*.gstatic.com https://fonts.googleapis.com https://*.github.io https://*.jsdelivr.net https://*.bootstrapcdn.com https://*.cloudflare.com;
font-src 'self' https://*.googleapis.com https://*.gstatic.com https://*.bootstrapcdn.com https://*.cloudflare.com;
frame-src 'self' https://*.googleapis.com https://*.gstatic.com https://*.bootstrapcdn.com;
object-src 'self';
connect-src 'self' https://*.github.io https://*.github.com https://*.githubusercontent.com https://*.jsdelivr.net
https://*.bootstrapcdn.com https://*.cloudflare.com https://*.googleapis.com https://*.gstatic.com https://www.google-analytics.com;
connect-src 'self' https://*.github.io https://*.github.com https://*.githubusercontent.com https://*.jsdelivr.net https://www.intel.com/content/dam/www/global/wap/*
https://*.bootstrapcdn.com https://*.cloudflare.com https://*.googleapis.com https://*.gstatic.com
worker-src 'self'"
/>
<meta name="description" content="Find C++, Python, and Fortran samples for AI, ML, CUDA to SYCL migration, and performance acceleration using CPUs, GPUs, and FPGAs.">
Expand Down

0 comments on commit 98fe7bc

Please sign in to comment.