mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
fix trojan shadowrocket remarks
This commit is contained in:
parent
e733a53e85
commit
2fc77a38f2
@ -59,7 +59,7 @@ class Helper
|
||||
|
||||
public static function buildTrojanLink(ServerTrojan $server, User $user)
|
||||
{
|
||||
$server->name = urlencode($server->name);
|
||||
$server->name = rawurlencode($server->name);
|
||||
$uri = "trojan://{$user->uuid}@{$server->host}:{$server->port}#{$server->name}";
|
||||
$uri .= "\r\n";
|
||||
return $uri;
|
||||
|
Loading…
Reference in New Issue
Block a user