Skip to content

Fix forwarded headers + preserveHost#5

Open
darlanalves wants to merge 1 commit intomainfrom
fix/forwarded-headers
Open

Fix forwarded headers + preserveHost#5
darlanalves wants to merge 1 commit intomainfrom
fix/forwarded-headers

Conversation

@darlanalves
Copy link
Copy Markdown
Contributor

Fixes forwarded header handling:\n\n- Route using X-Forwarded-Host (fallback Host) instead of misusing X-Forwarded-For\n- When preserveHost=true, keep Host but set standards-compliant X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto, and RFC7239 Forwarded\n\nAlso updates tests to stop asserting the old (incorrect) behavior.

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