Skip to content

Commit 8ef9d54

Browse files
authored
CSP: Add gitlab.com for Trusted Publishing workflow path verification (#12388)
1 parent b31d341 commit 8ef9d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl Server {
179179
// the `script` in `public/github-redirect.html`
180180
let content_security_policy = format!(
181181
"default-src 'self'; \
182-
connect-src 'self' *.ingest.sentry.io https://docs.rs https://play.rust-lang.org https://raw.githubusercontent.com {cdn_domain}; \
182+
connect-src 'self' *.ingest.sentry.io https://docs.rs https://play.rust-lang.org https://raw.githubusercontent.com https://gitlab.com {cdn_domain}; \
183183
script-src 'self' 'unsafe-eval' 'sha256-n1+BB7Ckjcal1Pr7QNBh/dKRTtBQsIytFodRiIosXdE=' 'sha256-dbf9FMl76C7BnK1CC3eWb3pvsQAUaTYSHAlBy9tNTG0='; \
184184
style-src 'self' 'unsafe-inline' https://code.cdn.mozilla.net; \
185185
font-src https://code.cdn.mozilla.net; \

0 commit comments

Comments
 (0)