mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 12:59:44 +01:00
fix #1762: X-XSS-Protection is rated as INFO, fixed bug introduced in last commit
This commit is contained in:
parent
6f3c957fe7
commit
5949a0465a
@ -3204,12 +3204,13 @@ run_security_headers() {
|
||||
"Content-Security-Policy-Report-Only OK" \
|
||||
"Expect-CT OK" \
|
||||
"Permissions-Policy OK" \
|
||||
"X-XSS-Protection LOW" \
|
||||
"X-XSS-Protection INFO" \
|
||||
"Access-Control-Allow-Origin INFO" \
|
||||
"Upgrade INFO" \
|
||||
"X-Served-By INFO" \
|
||||
"Referrer-Policy INFO" \
|
||||
"X-UA-Compatible Cache-Control INFO" \
|
||||
"X-UA-Compatible INFO" \
|
||||
"Cache-Control INFO" \
|
||||
"Pragma INFO"; do
|
||||
read header svrty <<< "${header_and_svrty}"
|
||||
[[ "$DEBUG" -ge 5 ]] && echo "testing \"$header\" (severity \"$svrty\")"
|
||||
|
Loading…
Reference in New Issue
Block a user