fabro/lib
Bryan Helmkamp 49ef284ed5
refactor(server): simplify IP allowlist parsing and expansion
Reuse `IpAllowEntry::parse_literal` instead of duplicating `IpNet`
parsing in the resolver, and drop the unreachable defensive branch
in `expand_ip_allow_entries` that called `unwrap_or_default` on a
value that is always `Some` once an entry needs GitHub hooks.

Adds a middleware test covering X-Forwarded-For routing with a
non-zero trusted proxy count, which previously relied on
`extract_client_ip` unit tests alone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 09:47:22 -04:00
..
crates refactor(server): simplify IP allowlist parsing and expansion 2026-04-19 09:47:22 -04:00
packages/fabro-api-client feat(cli): surface debug build profile in version output 2026-04-18 09:44:54 -04:00