Skip to content

v1.63.1

Choose a tag to compare

@github-actions github-actions released this 02 Oct 14:02
· 26 commits to main since this release

What's Changed

Fixed

  • The duplicate security header warning behind $warn_duplicate_security_headers
    never found a duplicate. It asked the response headers object for
    getValues(). On WordPress that object is a
    WpOrg\Requests\Utility\CaseInsensitiveDictionary, an ArrayAccess with no
    such method, so the check ended as "could not verify" on every site. It now
    reads the headers through ArrayAccess. A header sent on several lines
    (an array) counts, and so does a value repeated inside one folded line
    (SAMEORIGIN, SAMEORIGIN, which Apache produces). A comma list of different
    tokens, such as a Referrer-Policy fallback list, is not a duplicate. Two
    sources that send different values in one folded line are still not caught.
    A site with $security_headers on may now see a warning that was silent
    before.

Pull Requests

  • #223 — fix(health): read the headers WordPress returns when looking for duplicates

Full Changelog: v1.63.0...v1.63.1