add clear
This commit is contained in:
@@ -333,7 +333,7 @@ class HttpClient
|
||||
if (strpos($this->host, ':') !== false) {
|
||||
[$this->host, $this->port] = explode(':', $this->host);
|
||||
if ($this->checkIsIp($this->host)) {
|
||||
return '/' . $hostAndUrls;
|
||||
return $hostAndUrls;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -343,7 +343,7 @@ class HttpClient
|
||||
|
||||
$this->host = System::gethostbyname($this->host);
|
||||
|
||||
return '/' . $hostAndUrls;
|
||||
return $hostAndUrls;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user