mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-06-02 22:48:49 +02:00
Fix Permissions-Policy header listed twice in output
run_security_headers() listed "Permissions-Policy" twice in its header_and_svrty checklist: once as OK and again as INFO. The loop matched the same header on both iterations, emitting two entries to JSON (headerResponse) and the terminal output. Remove the duplicate INFO entry, keeping the intended OK classification. Backport of the 3.3dev fix to the 3.2 branch. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3520,7 +3520,6 @@ run_security_headers() {
|
|||||||
"X-XSS-Protection INFO" \
|
"X-XSS-Protection INFO" \
|
||||||
"Access-Control-Allow-Origin INFO" \
|
"Access-Control-Allow-Origin INFO" \
|
||||||
"Access-Control-Allow-Credentials INFO" \
|
"Access-Control-Allow-Credentials INFO" \
|
||||||
"Permissions-Policy INFO" \
|
|
||||||
"Upgrade INFO" \
|
"Upgrade INFO" \
|
||||||
"X-Served-By INFO" \
|
"X-Served-By INFO" \
|
||||||
"Referrer-Policy INFO" \
|
"Referrer-Policy INFO" \
|
||||||
|
|||||||
Reference in New Issue
Block a user