Skip to content

the doc about configuring trusted proxies in Symfony 5.2+ is wrong #14961

Closed
@stof

Description

@stof

the doc at https://symfony.com/doc/current/deployment/proxies.html#solution-settrustedproxies shows example using negated values and examples using class constants of Request in the semantic config of FrameworkBundle.
This was indeed supported in the initial implementation of the feature, but it was removed before the 5.2.0 release when deprecating the HEADER_X_FORWARDED_ALL constant in the component, to keep only the additive way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions