Skip to content

Commit 5949a04

Browse files
committed
fix #1762: X-XSS-Protection is rated as INFO, fixed bug introduced in last commit
1 parent 6f3c957 commit 5949a04

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

testssl.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3204,12 +3204,13 @@ run_security_headers() {
32043204
"Content-Security-Policy-Report-Only OK" \
32053205
"Expect-CT OK" \
32063206
"Permissions-Policy OK" \
3207-
"X-XSS-Protection LOW" \
3207+
"X-XSS-Protection INFO" \
32083208
"Access-Control-Allow-Origin INFO" \
32093209
"Upgrade INFO" \
32103210
"X-Served-By INFO" \
32113211
"Referrer-Policy INFO" \
3212-
"X-UA-Compatible Cache-Control INFO" \
3212+
"X-UA-Compatible INFO" \
3213+
"Cache-Control INFO" \
32133214
"Pragma INFO"; do
32143215
read header svrty <<< "${header_and_svrty}"
32153216
[[ "$DEBUG" -ge 5 ]] && echo "testing \"$header\" (severity \"$svrty\")"

0 commit comments

Comments
 (0)