diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index ed46d2c..b2b52b9 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -338,14 +338,8 @@ class HttpClient private function cutRequestUrl($url) { $url = $this->replaceHost($url); - - var_dump($url); - $explode = explode('/', $url); $first = array_shift($explode); - - var_dump($first, $url); - if (strpos($first, ':') !== false) { [$first, $this->port] = explode(':', $first); if ($this->port !== 443) { @@ -353,6 +347,8 @@ class HttpClient } } $url = '/' . implode('/', $explode); + + var_dump($first, $url); return [$first, $url]; }