From f9a37089f743bba5a49f1b62509b77cbdcaf7a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 2 Dec 2020 18:51:52 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {