diff --git a/framework/web/Request.php b/framework/web/Request.php index b8fa303..c5589b4 100644 --- a/framework/web/Request.php +++ b/framework/web/Request.php @@ -292,7 +292,7 @@ class Request extends \yii\base\Request } if (preg_match($hostRegex, $host) || preg_match($hostRegex, $ip)) { $trustedHeaders = $headers; - continue; + break; } } }