Skip to content

fix: allow x-forwarded-for with ports#56

Open
lajp wants to merge 1 commit intobenwis:mainfrom
lajp:x-forwarder-for-ports
Open

fix: allow x-forwarded-for with ports#56
lajp wants to merge 1 commit intobenwis:mainfrom
lajp:x-forwarder-for-ports

Conversation

@lajp
Copy link

@lajp lajp commented Aug 31, 2025

Some proxies like the one used in azure app services seem to specify a port in the x-forwarded-for addresses. The current implementation fails to parse the address if it includes a port.

@lajp lajp requested a review from benwis as a code owner August 31, 2025 17:17
@lajp lajp force-pushed the x-forwarder-for-ports branch from 75178eb to 249d94e Compare September 1, 2025 08:43
@lajp lajp changed the title fix: allow x-forwarder-for with ports fix: allow x-forwarded-for with ports Sep 1, 2025
@lajp lajp force-pushed the x-forwarder-for-ports branch from 249d94e to cbd4898 Compare September 1, 2025 11:13
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