Skip to content

HttpHeaders#writableHttpHeaders not effective with read-only delegate #33795

@ilgrosso

Description

@ilgrosso

As described in spring-cloud/spring-cloud-gateway#3570 (comment) starting with Spring Boot 3.3.5, we are observing that HttpHeaders#writableHttpHeaders is failing to return a writable instance in case the given headers argument is an instance of Spring Security's org.springframework.security.web.server.firewall.StrictServerWebExchangeFirewall.StrictFirewallServerWebExchange.StrictFirewallHttpRequest.StrictFirewallHttpHeaders

This seems to be related to spring-projects/spring-security@0e257b5

I think it would be enough to cherry-pick ef77b40 to the branch 6.1.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions