From 96bc5a4d8b2d4dd6c427e2451d63c10d3ac30cbc Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 19 Dec 2019 10:51:00 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/HttpClient.php b/common/HttpClient.php index 362a231..d78d392 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -253,6 +253,9 @@ class HttpClient $this->isSSL = false; } } + + $url = '/' . implode('/', $explode); + if (preg_match('/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/', $first)) { return $first; }