Skip to content

ServerHttpSecurity.HeaderSpec.ReferrerPolicySpec missing disable #17991

@SledgeHammer01

Description

@SledgeHammer01

Expected Behavior

Most of the other HeaderSpecs have a disable option, but ServerHttpSecurity.HeaderSpec.ReferrerPolicySpec is missing it.

Current Behavior

There is no way to disable the ReferrerPolicy header unless you use headers.disable(), but that makes .writer() not work.

Context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions