Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
3e7a9fb8
Commit
3e7a9fb8
authored
Apr 01, 2021
by
Daniel Perez
Browse files
Fixing content security
parent
b87e650b
Pipeline
#34356
passed with stages
in 5 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/shared/response.ts
View file @
3e7a9fb8
...
...
@@ -49,7 +49,8 @@ export class Response {
'
Cache-Control
'
:
'
no-cache, no-store, must-revalidate
'
,
'
Content-Security-Policy
'
:
'
script-src
\'
self
\'
\'
'
+
'
sha256-/jDKvbQ8cdux+c5epDIqkjHbXDaIY8RucT1PmAe8FG4=
\'
\'
'
+
'
sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=
\'
\'
'
+
'
sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=
\'
'
+
'
default-src
\'
self
\'
\'
'
+
'
sha256-BeXIQk2DxxoDrgnnoH683KOnlwQvO0HH1fT4VFQTi8g=
\'
'
,
'
Expires
'
:
'
0
'
,
'
Service-Provider
'
:
Config
.
CLOUDPROVIDER
,
...
...
tests/utest/shared/response.ts
View file @
3e7a9fb8
...
...
@@ -75,8 +75,9 @@ export class TestResponseSHD {
const
result
=
spy
.
calledWith
({
'
Cache-Control
'
:
'
no-cache, no-store, must-revalidate
'
,
'
Content-Security-Policy
'
:
'
script-src
\'
self
\'
\'
'
+
'
sha256-/jDKvbQ8cdux+c5epDIqkjHbXDaIY8RucT1PmAe8FG4=
\'
\'
'
+
'
sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=
\'
\'
'
+
'
sha256-/jDKvbQ8cdux+c5epDIqkjHbXDaIY8RucT1PmAe8FG4=
\'
\'
'
+
'
sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=
\'
'
+
'
default-src
\'
self
\'
\'
'
+
'
sha256-BeXIQk2DxxoDrgnnoH683KOnlwQvO0HH1fT4VFQTi8g=
\'
'
,
'
Expires
'
:
'
0
'
,
'
Service-Provider
'
:
Config
.
CLOUDPROVIDER
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment