mirror of
https://github.com/hanzoai/base.git
synced 2026-10-21 03:41:50 +00:00
The ban matched a bare `/api/` path and nothing else, so the same segment reached through an absolute URL at one of our hosts read exactly like the third-party URLs the rule deliberately permits, and passed — `https://hanzo.id/api/login/...` and `https://api.hanzo.ai/api/v1/...` were both clean to it. A second pattern names our hosts. gitlab.com/api/v4 and its neighbours still pass, which is what the first pattern's non-word lookbehind is for. Co-authored-by: Hanzo Dev <[email protected]>