From 989870e07bcfae4a99867ab1995d8cf871ce8bdd Mon Sep 17 00:00:00 2001 From: Steve <6131869+SteveVaneeckhout@users.noreply.github.com> Date: Sat, 30 May 2026 12:05:03 +0200 Subject: [PATCH] Fix Permissions-Policy header listed twice in output run_security_headers() listed "Permissions-Policy" twice in its header_and_svrty checklist: once as OK (since 2020) and again as INFO (accidentally added in 12036fb). 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. Co-Authored-By: Claude Opus 4.8 --- testssl.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 18c741a..fbf4a8f 100755 --- a/testssl.sh +++ b/testssl.sh @@ -3604,7 +3604,6 @@ run_security_headers() { "X-XSS-Protection INFO" \ "Access-Control-Allow-Origin INFO" \ "Access-Control-Allow-Credentials INFO" \ - "Permissions-Policy INFO" \ "Upgrade INFO" \ "X-Served-By INFO" \ "Referrer-Policy INFO" \