Skip to content

Commit 98fe7bc

Browse files
authored
Update CSP to add WAP URLs in base.html
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
1 parent 6589f76 commit 98fe7bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/docs/_templates/base.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
data: https://*.github.io;
3333
img-src 'self'
3434
data: https://*.github.io https://github.com https://*.githubusercontent.com;
35-
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.google-analytics.com https://tagmanager.google.com/ https://www.googletagmanager.com/ https://*.github.io;
35+
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.intel.com/content/dam/www/global/wap/* https://*.github.io;
3636
style-src 'self' data: https://*.gstatic.com https://fonts.googleapis.com https://*.github.io https://*.jsdelivr.net https://*.bootstrapcdn.com https://*.cloudflare.com;
3737
3838
font-src 'self' https://*.googleapis.com https://*.gstatic.com https://*.bootstrapcdn.com https://*.cloudflare.com;
3939
frame-src 'self' https://*.googleapis.com https://*.gstatic.com https://*.bootstrapcdn.com;
4040
object-src 'self';
41-
connect-src 'self' https://*.github.io https://*.github.com https://*.githubusercontent.com https://*.jsdelivr.net
42-
https://*.bootstrapcdn.com https://*.cloudflare.com https://*.googleapis.com https://*.gstatic.com https://www.google-analytics.com;
41+
connect-src 'self' https://*.github.io https://*.github.com https://*.githubusercontent.com https://*.jsdelivr.net https://www.intel.com/content/dam/www/global/wap/*
42+
https://*.bootstrapcdn.com https://*.cloudflare.com https://*.googleapis.com https://*.gstatic.com
4343
worker-src 'self'"
4444
/>
4545
<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.">

0 commit comments

Comments
 (0)