mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-05 08:10:39 +00:00
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> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||