mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 11:09:11 +08:00
fix: trojan urlencode issue
This commit is contained in:
parent
3be39043cb
commit
63adb9c4a8
@ -44,7 +44,6 @@ class URLSchemes
|
|||||||
|
|
||||||
public static function buildTrojan(ServerTrojan $server, User $user)
|
public static function buildTrojan(ServerTrojan $server, User $user)
|
||||||
{
|
{
|
||||||
$server->name = rawurlencode($server->name);
|
|
||||||
$query = http_build_query([
|
$query = http_build_query([
|
||||||
'allowInsecure' => $server->allow_insecure,
|
'allowInsecure' => $server->allow_insecure,
|
||||||
'peer' => $server->server_name,
|
'peer' => $server->server_name,
|
||||||
|
Loading…
Reference in New Issue
Block a user