fix(sec/d24): nginx sends X-Forwarded-For as $remote_addr (replace, not append)
With the app's trust-proxy=1, an appended client-supplied XFF header would let a caller spoof req.ip and bypass the per-IP login/reveal rate limiters. Replacing with $remote_addr (the unforgeable socket peer) keys the limiters on the true client. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>feat/client-detail-redesign
parent
a11d650416
commit
1d715e6a64
Loading…
Reference in New Issue