add clear

This commit is contained in:
2020-09-24 11:38:53 +08:00
parent 2f2950e944
commit 95849babc7
+1
View File
@@ -346,6 +346,7 @@ class HttpClient
$this->host = System::gethostbyname($this->host);
}
var_dump($this->host,$string);
if (!$this->checkIsIp($this->host) && !$this->isDomainName($this->host)) {
throw new Exception('Client Host error.');
}