Commit 182fd3e6 authored by Varunkumar Manohar's avatar Varunkumar Manohar
Browse files

Merge branch 'slb/dm3/security-policy' into 'master'

Slb/dm3/security policy

See merge request !91
parents 08ada788 d1ad681f
Pipeline #40733 passed with stages
in 10 minutes and 4 seconds
......@@ -47,9 +47,6 @@ export class Response {
public static write(res: expResponse, code: number, data: any = {}) {
res.set({
'Cache-Control': 'no-cache, no-store, must-revalidate',
'Content-Security-Policy': 'script-src \'self\' \'' +
'sha256-/jDKvbQ8cdux+c5epDIqkjHbXDaIY8RucT1PmAe8FG4=\' \'' +
'sha256-Zs5IcTe3sZcSKyWwfnpj4Arf2O14pmf4PcoigyHlHK8=\'',
'Expires': '0',
'Service-Provider': Config.CLOUDPROVIDER,
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains',
......
......@@ -74,9 +74,6 @@ 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=\'',
'Expires': '0',
'Service-Provider': Config.CLOUDPROVIDER,
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment