Skip to content

Commit 795d3a1

Browse files
authored
Merge pull request #2135 from insectengine/CSP-AdobeAnalytics-adjustment
Csp adobe analytics adjustment to fix data collection issue
2 parents 53e3612 + 656a67d commit 795d3a1

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

_includes/head-csp.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<meta http-equiv="Content-Security-Policy" content="
2+
default-src https://dpm.demdex.net https://route-default-test-mscherer-matamo.apps.ospo-osci.z3b1.p1.openshiftapps.com/ {{ site.search.host }};
3+
script-src 'self' 'unsafe-inline' 'unsafe-eval'
4+
{{ search_script }}
5+
https://assets.adobedtm.com
6+
js.bizographics.com
7+
https://www.redhat.com
8+
https://static.redhat.com
9+
https://app.requestly.io/
10+
jsonip.com
11+
https://ajax.googleapis.com
12+
https://use.fontawesome.com
13+
https://app.mailjet.com
14+
http://www.youtube.com
15+
http://www.googleadservices.com
16+
https://googleads.g.doubleclick.net
17+
https://giscus.app
18+
https://route-default-test-mscherer-matamo.apps.ospo-osci.z3b1.p1.openshiftapps.com/;
19+
20+
style-src 'self' https://fonts.googleapis.com https://use.fontawesome.com;
21+
img-src 'self' * data:;
22+
media-src 'self';
23+
frame-src https://redhat.demdex.net https://www.youtube.com https://embed.restream.io https://app.mailjet.com http://xy0p2.mjt.lu https://mj.quarkus.io https://giscus.app; base-uri 'none'; object-src 'none'; form-action 'none';
24+
font-src 'self' https://use.fontawesome.com https://fonts.gstatic.com;" />

_layouts/base.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
<title>{{ page.title }}{{ page_title_version_suffix }}{% unless page_title_starts_with_quarkus or page_title_ends_with_quarkus %} - Quarkus{% endunless %}</title>
3232
<meta charset="utf-8">
3333
<meta name="viewport" content="width=device-width, initial-scale=1">
34-
<meta http-equiv="Content-Security-Policy" content="default-src https://dpm.demdex.net https://route-default-test-mscherer-matamo.apps.ospo-osci.z3b1.p1.openshiftapps.com/ {{ site.search.host }}; script-src 'self' 'unsafe-eval' {{ search_script }} 'sha256-ANpuoVzuSex6VhqpYgsG25OHWVA1I+F6aGU04LoI+5s=' 'sha256-ipy9P/3rZZW06mTLAR0EnXvxSNcnfSDPLDuh3kzbB1w=' 'sha256-+5qDxnbsqhFKZIIfofMhmVgNChsVrKoHUdaQ2EMs9aU=' 'sha256-9GX2EYB8fryOX9sALbWzZ7TVEZjRANod3mzT9mJK2A0=' 'sha256-RqEzO7A/IXS1BIUL4ZdgDljo0D5dRmBT22Oe7buZDT8=' 'sha256-OOu4endfeFMVqh4Q00S7byTqB4q1D6GextRjoysxGbg=' 'sha256-ioF25X2HdUdCugCVyJjxXVOma9G9P15kHxEDtSRNluE=' 'sha256-PeUeMwkRRyljEhJ9YfrDnY7Fs7YaSekiWO+UaJHD6P4=' 'sha256-/l3yGVvvIIlcKqPU1Ix7WzsjlDZYxSTUgNauy7yiunY=' js.bizographics.com https://www.redhat.com https://static.redhat.com assets.adobedtm.com https://app.requestly.io/ jsonip.com https://ajax.googleapis.com https://use.fontawesome.com https://app.mailjet.com http://www.youtube.com http://www.googleadservices.com https://googleads.g.doubleclick.net https://dpm.demdex.net https://giscus.app https://route-default-test-mscherer-matamo.apps.ospo-osci.z3b1.p1.openshiftapps.com/; style-src 'self' https://fonts.googleapis.com https://use.fontawesome.com; img-src 'self'
35-
https://route-default-test-mscherer-matamo.apps.ospo-osci.z3b1.p1.openshiftapps.com/ * data:; media-src 'self'; frame-src https://redhat.demdex.net https://www.youtube.com https://embed.restream.io https://app.mailjet.com http://xy0p2.mjt.lu https://mj.quarkus.io https://giscus.app; base-uri 'none'; object-src 'none'; form-action 'none'; font-src 'self' https://use.fontawesome.com https://fonts.gstatic.com;" />
34+
{% include head-csp.html %}
3635
<script id="adobe_dtm" src="https://www.redhat.com/dtm.js" type="text/javascript"></script>
3736
<script src="{{ '/assets/javascript/highlight.pack.js' | relative_url }}" type="text/javascript"></script>
3837
<META HTTP-EQUIV='X-XSS-Protection' CONTENT="1; mode=block">

0 commit comments

Comments
 (0)