Skip to content

[6.x] Update ip_address protector to use request()->ips()#14063

Open
gavynd6 wants to merge 1 commit intostatamic:6.xfrom
gavynd6:fix/ip-address-protector
Open

[6.x] Update ip_address protector to use request()->ips()#14063
gavynd6 wants to merge 1 commit intostatamic:6.xfrom
gavynd6:fix/ip-address-protector

Conversation

@gavynd6
Copy link

@gavynd6 gavynd6 commented Feb 24, 2026

The IP Address protector does not work when hosted behind a load balancer, as it uses request()->ip() rather than request->ips(), so does not detect the X-Forwarded-For header.

This PR looks at all the IP addresses available in the request.

@gavynd6 gavynd6 changed the title fix: update ip_address protector to use request()->ips() [6.x] Update ip_address protector to use request()->ips() Feb 24, 2026
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