fix: trojan urlencode issue

This commit is contained in:
Tokumeikoi 2020-10-04 15:35:42 +08:00
parent 3be39043cb
commit 63adb9c4a8

View File

@ -44,7 +44,6 @@ class URLSchemes
public static function buildTrojan(ServerTrojan $server, User $user)
{
$server->name = rawurlencode($server->name);
$query = http_build_query([
'allowInsecure' => $server->allow_insecure,
'peer' => $server->server_name,