From 53c95787961c052cb9f1990342f6e4fe102ee5e9 Mon Sep 17 00:00:00 2001 From: GeekQu Date: Sat, 12 Oct 2019 23:39:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=20Quantumult=20SS=20?= =?UTF-8?q?=E8=AE=A2=E9=98=85=E6=8F=90=E7=A4=BA=E6=97=A0=20group=20?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Utils/URL.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Utils/URL.php b/app/Utils/URL.php index 2d6fc1c6..6abcf884 100644 --- a/app/Utils/URL.php +++ b/app/Utils/URL.php @@ -342,7 +342,9 @@ class URL if ($item['obfs_param'] != '' && $item['obfs'] != 'v2ray') { $plugin .= ';obfs-host=' . $item['obfs_param']; } - $ssurl .= '?plugin=' . rawurlencode($plugin); + $ssurl .= '?plugin=' . rawurlencode($plugin) . '&group=' . Tools::base64_url_encode(Config::get('appName')); + } else { + $ssurl .= '?group=' . Tools::base64_url_encode(Config::get('appName')); } $ssurl .= '#' . rawurlencode( Config::get('appName') . ' - ' . $item['remark']