Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jjuliano
Copy link
Member

@jjuliano jjuliano commented Feb 8, 2025

Introduces setting a list of trusted proxies (IPv4, IPv6, or CIDR ranges).
If set, only requests passing through these proxies will have their X-Forwarded-For header trusted.
If unset, all proxies—including potentially malicious ones—are considered trusted, which may expose the server to IP spoofing and other attacks.

@jjuliano jjuliano merged commit a56c31c into main Feb 10, 2025
6 checks passed
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.

2 participants