Skip to content

Commit ca5f08c

Browse files
committed
Vertx-resteasy-helpers 0.2.3, remove explicit domain from CSP
1 parent 40e18fc commit ca5f08c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

query-engine/docs/query-engine-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ services:
5050
- 16686:16686
5151

5252
query-engine:
53-
image: ghcr.io/yaytay/query-engine-design-mode:0.2.31-3-main
53+
image: ghcr.io/yaytay/query-engine-design-mode:0.2.33-1-main
5454
ports:
5555
- 2000:8080
5656
volumes:

query-engine/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
<dependency>
203203
<groupId>uk.co.spudsoft</groupId>
204204
<artifactId>vertx-resteasy-helpers</artifactId>
205-
<version>0.2.2</version>
205+
<version>0.2.3</version>
206206
<exclusions>
207207
<exclusion>
208208
<groupId>jakarta.activation</groupId>

query-engine/src/main/java/uk/co/spudsoft/query/main/Version.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public final class Version {
3434
/**
3535
* The project version, as set in the Maven pom.xml.
3636
*/
37-
public static final String MAVEN_PROJECT_VERSION = "0.2.31-3-main";
37+
public static final String MAVEN_PROJECT_VERSION = "0.2.33-1-main";
3838

3939
private Version() {
4040
}

query-engine/src/main/java/uk/co/spudsoft/query/web/rest/DocHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ public void getDoc(
344344
Response
345345
.ok(file, MimeTypes.getMimeTypeForFilename(path))
346346
.header(X_FRAME_OPTIONS.toString(), "SAMEORIGIN")
347-
.header(CONTENT_SECURITY_POLICY.toString(), "default-src 'self'; img-src 'self' cdn.prod.website-files.com; style-src 'self' 'unsafe-hashes' 'unsafe-inline'; connect-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' 'unsafe-eval'; manifest-src 'self'")
347+
.header(CONTENT_SECURITY_POLICY.toString(), "default-src 'self'; img-src 'self'; style-src 'self' 'unsafe-hashes' 'unsafe-inline'; connect-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' 'unsafe-eval'; manifest-src 'self'")
348348
.build()
349349
);
350350
} else {
@@ -357,7 +357,7 @@ public void getDoc(
357357
Response
358358
.ok(contents, MimeTypes.getMimeTypeForFilename(path))
359359
.header(X_FRAME_OPTIONS.toString(), "SAMEORIGIN")
360-
.header(CONTENT_SECURITY_POLICY.toString(), "default-src 'self'; img-src 'self' cdn.prod.website-files.com; style-src 'self' 'unsafe-hashes' 'unsafe-inline'; connect-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' 'unsafe-eval'; manifest-src 'self'")
360+
.header(CONTENT_SECURITY_POLICY.toString(), "default-src 'self'; img-src 'self'; style-src 'self' 'unsafe-hashes' 'unsafe-inline'; connect-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' 'unsafe-eval'; manifest-src 'self'")
361361
.build()
362362
);
363363
}

0 commit comments

Comments
 (0)