mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-18 03:19:51 +03:00
a90870437e
security: add dot-boundary check in brand domain matching The domain matching used iendswithout boundary checking, allowing 'fake-example.com' to match a brand configured for 'example.com'. Added explicit check for either exact match or subdomain match with dot boundary to prevent partial domain suffix attacks. Co-authored-by: kolega.dev <faizan@kolega.ai>