Skip to content

Add trusted CIDR prefix tests for ClientIPFromXFFHeader#1087

Closed
Saku0512 wants to merge 1 commit into
go-chi:clientip-middleware-intended-to-replacefrom
Saku0512:add-trusted-prefix-tests
Closed

Add trusted CIDR prefix tests for ClientIPFromXFFHeader#1087
Saku0512 wants to merge 1 commit into
go-chi:clientip-middleware-intended-to-replacefrom
Saku0512:add-trusted-prefix-tests

Conversation

@Saku0512
Copy link
Copy Markdown

Covers single/multiple trusted proxy chains, spoofing attempts, prefix boundary values, and no-prefix baseline as requested in PR #967.

Covers single/multiple trusted proxy chains, spoofing attempts,
prefix boundary values, and no-prefix baseline as requested in PR go-chi#967.
@Saku0512 Saku0512 marked this pull request as draft April 19, 2026 08:30
@Saku0512 Saku0512 marked this pull request as ready for review April 19, 2026 08:30
@VojtechVitek
Copy link
Copy Markdown
Contributor

Thank you for the contribution @Saku0512 👍 I've included your tests as a base for this plan: #967 (comment).

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