diff --git a/tests/drone/csp.yaml b/tests/drone/csp.yaml index 01251e9ad58..6cba1070549 100644 --- a/tests/drone/csp.yaml +++ b/tests/drone/csp.yaml @@ -3,7 +3,8 @@ directives: - '''self''' connect-src: - '''self''' - - 'https://${KEYCLOAK_DOMAIN:-keycloak:8443}/' + # In contrast to bash and docker the default is given after the | character + - 'https://${KEYCLOAK_DOMAIN|keycloak:8443}/' default-src: - '''none''' font-src: @@ -13,14 +14,16 @@ directives: frame-src: - '''self''' - 'https://embed.diagrams.net/' - - 'https://${ONLYOFFICE_DOMAIN:-onlyoffice:443}/' - - 'https://${COLLABORA_DOMAIN:-collabora:9980}/' + # In contrast to bash and docker the default is given after the | character + - 'https://${ONLYOFFICE_DOMAIN|onlyoffice:443}/' + - 'https://${COLLABORA_DOMAIN|collabora:9980}/' img-src: - '''self''' - 'data:' - 'blob:' - - 'https://${ONLYOFFICE_DOMAIN:-onlyoffice:443}/' - - 'https://${COLLABORA_DOMAIN:-collabora:9980}/' + # In contrast to bash and docker the default is given after the | character + - 'https://${ONLYOFFICE_DOMAIN|onlyoffice:443}/' + - 'https://${COLLABORA_DOMAIN|collabora:9980}/' manifest-src: - '''self''' media-src: