Skip to content

Conversation

@Ayoub-Mabrouk
Copy link
Contributor

Add test to verify that req.host correctly handles comma-separated
values in X-Forwarded-Host header by using only the first value.
This ensures the behavior matches req.hostname and properly handles
edge cases when proxies send multiple host values

Add test to verify that req.host correctly handles comma-separated
values in X-Forwarded-Host header by using only the first value.
This ensures the behavior matches req.hostname and properly handles
edge cases when proxies send multiple host values.
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.

1 participant