Files
core/tests
Stefan AgnerandClaude Fable 5 73806810cf Store recovery HTTP config with the full trusted proxy network
The recovery config saved only the network address of each trusted proxy
(``ip.network_address``), dropping the prefix length. A configured network
like 10.0.0.0/24 was stored as 10.0.0.0 and read back as 10.0.0.0/32, so
recovery mode narrowed the trusted proxies to a single host and rejected
requests from the real proxy.

Store the full network (``str(ip)``) so the config round-trips losslessly.
The restored value is re-validated through HTTP_SCHEMA, which accepts both
forms, so this is safe on read back.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 11:59:12 +02:00
..
…
…
…
…
…