add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:51:00 +08:00
parent 77417cdf5a
commit 96bc5a4d8b
+3
View File
@@ -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;
}