Files
pixa/internal/server
sneak a5088a69a1
check / check (push) Canceled after 0s
Test that an IPv6 entry in blocked_networks does not refuse a plain IPv4 source
Both image routes: the plain IPv4 source host 203.0.113.5 must not be
refused when blocked_networks lists ::/0. It fails on this branch: Go
keeps a plain IPv4 address in the mapped form, and isBlockedIP matches
that form as written. The case that expected [::ffff:203.0.113.5]
refused with ::ffff:0:0/96 listed, added earlier on this branch, is
dropped: the mapped form is matched only as the IPv4 address it holds.

Model: opus-5-5
2026-10-16 04:24:19 +00:00
..