Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Adds hostname extraction for ‘forwarded’ header #22

Merged

Conversation

NeedleInAJayStack
Copy link
Contributor

The previous implementation extracted a hostname from the X-Forwarded-For header. this adds additional support for the standardized Forwarded header.

This also improves testing support when using Vapor's headers.forwarded.

Copy link
Contributor

@siemensikkema siemensikkema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! LGTM 👍🏻

@siemensikkema siemensikkema merged commit 9009cfb into ml-archive:master Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants