Skip to content
Corex

CaptchaHostnamePolicy

Corex\Captcha\CaptchaHostnamePolicy · class · Add-ons layer

Decides whether the hostname a provider reports is one this site permits. Exact, normalised comparison against an explicit allowlist — never a substring match. The substring shortcut (str_contains($allowed, $reported)) is the classic reCAPTCHA verification hole: it accepts corex.local.evil.com because it “contains” corex.local.