Files
webhooker/internal/middleware
clawbot 9bfd033a29
All checks were successful
check / check (push) Superseded by a newer commit; never tested
Bound X-Forwarded-For scanning allocation to the hop cap (closes #133)
forwardedClientAddr now walks the header values in reverse with strings.LastIndexByte instead of joining and splitting, so allocation is bounded by the 64-hop cap rather than by header length: 1.6 MB per call becomes 16 bytes for a 1 MB chain. Semantics are unchanged, verified by differential testing against the previous implementation.
2026-08-12 12:19:14 +02:00
..