@forge/csp
6.4.1-next.16.4.0-experimental-1e95696
out/csp/csp-injection-service.js~
out/csp/csp-injection-service.jsModified−8
Index: package/out/csp/csp-injection-service.js
===================================================================
--- package/out/csp/csp-injection-service.js
+++ package/out/csp/csp-injection-service.js
@@ -201,9 +201,8 @@
.filter((a) => a)
.join(' ');
const fontSrc = [
"'self'",
- 'data:',
...getFOSHostDownload(microsEnv, icOptions),
...fosCDNUrls,
...this.getExistingCSPDetails(types_1.ExternalCspType.FONT_SRC, existingCSPDetails)
].join(' ');
@@ -330,10 +329,8 @@
'*.jira-dev.com',
'http://localhost:*',
'http://devbucket.localhost',
'https://integration.bb-inf.net',
- 'https://trellis.coffee',
- 'chrome-extension://npbjhobkibekbklkghlhfhieggcggpdb',
'*.atl-paas.net',
'*.stg.atlassian.com'
];
if (macroParentHost && !localhostWithPortRegex.test(macroParentHost)) {
@@ -356,10 +353,8 @@
default:
frameAncestors = [
'*.atlassian.net',
'bitbucket.org',
- 'https://trello.com',
- 'chrome-extension://npbjhobkibekbklkghlhfhieggcggpdb',
'*.jira.com',
'*.atlassian.com',
'*.frontend.public.atl-paas.net'
];
@@ -380,11 +375,8 @@
frameAncestors.push(parentEmbeddingDomain);
}
if (hostname) {
frameAncestors.push(hostname);
- if (hostname === 'hello.atlassian.net') {
- frameAncestors.push('hello.jira.atlassian.cloud');
- }
}
return frameAncestors;
}
}