From 8dc77816b66a38a03501f5d4a40289603fe9d627 Mon Sep 17 00:00:00 2001 From: cyc Date: Mon, 25 Feb 2019 11:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/htmlcompressor/controllers/index_gm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/htmlcompressor/controllers/index_gm.php b/application/third_party/htmlcompressor/controllers/index_gm.php index 51de9d93..0a987645 100644 --- a/application/third_party/htmlcompressor/controllers/index_gm.php +++ b/application/third_party/htmlcompressor/controllers/index_gm.php @@ -251,7 +251,7 @@ class Index_gm extends CI_Controller //请求图片尺寸 $image_sizes = array(); foreach ($request_size as $host => $path) { - $parse_url = "https://{$host}/imagesize.php?photo=" . implode(',', $path); + $parse_url = "https://{$host}/imagesize.php?photo=" . urlencode(implode(',', $path)); $size_data = GET_HTTP($parse_url); if (!empty($size_data)) { $size_data = json_decode($size_data);