Files
hermes-agent/hermes_cli
kshitijk4poor 1223ffbe38 refactor(auth): table-drive loopback redirect host canonicalisation
The host check was a three-branch if/elif mapping each accepted loopback
literal to its URL authority spelling; a lookup table states the same
allow-list in one place. The final urlunparse also re-set scheme, netloc
and fragment even though every earlier check already guarantees they are
canonical (http, netloc == canonical_netloc, '#' rejected), so only the
empty-path -> "/" normalisation is applied. Behaviour and 400 messages are
unchanged.
2026-10-02 01:05:58 +05:30
..
…
…
…
2026-09-28 12:18:42 -07:00
…
…
…