diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-09-08 12:23:01 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-09-08 12:23:01 +0000 |
commit | c06ed71b42e3995627ba854c7cf0bfae3c56bd0b (patch) | |
tree | 3fc428efd9560979f54cbf276d5d7c8d177c8512 /vespalib | |
parent | 46866b3f944baf6dbcff28ec8952255693d495c0 (diff) |
Update test HTTP header expectations
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/tests/portal/portal_test.cpp | 2 | ||||
-rw-r--r-- | vespalib/src/tests/state_server/state_server_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/tests/portal/portal_test.cpp b/vespalib/src/tests/portal/portal_test.cpp index 2e68e7033db..979b1284700 100644 --- a/vespalib/src/tests/portal/portal_test.cpp +++ b/vespalib/src/tests/portal/portal_test.cpp @@ -52,7 +52,7 @@ vespalib::string make_expected_response(const vespalib::string &content_type, co "Content-Length: %zu\r\n" "X-XSS-Protection: 1; mode=block\r\n" "X-Frame-Options: DENY\r\n" - "Content-Security-Policy: default-src 'none'\r\n" + "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n" "X-Content-Type-Options: nosniff\r\n" "Cache-Control: no-store\r\n" "Pragma: no-cache\r\n" diff --git a/vespalib/src/tests/state_server/state_server_test.cpp b/vespalib/src/tests/state_server/state_server_test.cpp index f6e614f213a..2369e0dac66 100644 --- a/vespalib/src/tests/state_server/state_server_test.cpp +++ b/vespalib/src/tests/state_server/state_server_test.cpp @@ -85,7 +85,7 @@ TEST_FF("require that non-empty known url returns expected headers", DummyHandle "Content-Length: 5\r\n" "X-XSS-Protection: 1; mode=block\r\n" "X-Frame-Options: DENY\r\n" - "Content-Security-Policy: default-src 'none'\r\n" + "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n" "X-Content-Type-Options: nosniff\r\n" "Cache-Control: no-store\r\n" "Pragma: no-cache\r\n" |