diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 1034303..7397a61 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -398,7 +398,7 @@ class HttpClient return $this->curl($url, $data); } $url = $this->matchHost(ltrim($url, '/')); - if (!empty($this->port)) { + if (!empty($this->port) && $this->port != 443) { $this->host .= ':' . $this->port; } if ($this->isSSL) {