Skip to content

Backport: Fix Permissions-Policy header listed twice in output#3048

Open
SteveVaneeckhout wants to merge 1 commit into
testssl:3.2from
SteveVaneeckhout:fix-permissions-policy-duplicate-3.2
Open

Backport: Fix Permissions-Policy header listed twice in output#3048
SteveVaneeckhout wants to merge 1 commit into
testssl:3.2from
SteveVaneeckhout:fix-permissions-policy-duplicate-3.2

Conversation

@SteveVaneeckhout
Copy link
Copy Markdown
Contributor

Describe your changes

Backport of the 3.3dev fix to the 3.2 branch.

What is your pull request about?

  • Bug fix
  • Improvement
  • New feature (adds functionality)
  • Breaking change (bug fix, feature or improvement that would cause existing functionality to not work as expected)
  • Typo fix
  • Documentation update
  • Update of other files

If it's a code change please check the boxes which are applicable

  • For the main program: My edits contain no tabs, indentation is five spaces and any line endings do not contain any blank chars
  • I've read CONTRIBUTING.md and Coding_Convention.md
  • I have tested this fix or improvement against >=2 hosts and I couldn't spot a problem
  • I have tested this new feature against >=2 hosts which show this feature and >=2 host which does not (in order to avoid side effects) . I couldn't spot a problem
  • For the new feature I have made corresponding changes to the documentation and / or to help()
  • If it's a bigger change: I added myself to CREDITS.md (alphabetical order) and the change to CHANGELOG.md

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>
@SteveVaneeckhout SteveVaneeckhout changed the title Fix Permissions-Policy header listed twice in output Backport: Fix Permissions-Policy header listed twice in output May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant