Skip to content

Commit 1c717b8

Browse files
authored
Merge pull request #5881 from Countly/updated-settings-security-response-header-text
Updated settings security response header text
2 parents 10a5053 + abea513 commit 1c717b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui-tests/cypress/lib/dashboard/manage/configurations/configurations.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ const verifyPageElements = () => {
725725

726726
cy.verifyElement({
727727
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.API_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA,
728-
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nAccess-Control-Allow-Origin:*",
728+
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nAccess-Control-Allow-Origin:*",
729729
});
730730

731731
cy.verifyElement({
@@ -740,7 +740,7 @@ const verifyPageElements = () => {
740740

741741
cy.verifyElement({
742742
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.DASHBOARD_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA,
743-
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000 ; includeSubDomains\nX-Content-Type-Options: nosniff"
743+
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nX-Content-Type-Options: nosniff"
744744
});
745745

746746
cy.verifyElement({
@@ -1844,4 +1844,4 @@ const verifyPageElements = () => {
18441844

18451845
module.exports = {
18461846
verifyPageElements
1847-
};
1847+
};

0 commit comments

Comments
 (0)