diff --git a/app/Protocols/General.php b/app/Protocols/General.php index 458265d..fbc65f7 100644 --- a/app/Protocols/General.php +++ b/app/Protocols/General.php @@ -239,7 +239,7 @@ class General extends AbstractProtocol $user = $uuid . '@' . Helper::wrapIPv6($host) . ':' . $port; $query = http_build_query($config); - $fragment = urlencode($name); + $fragment = rawurlencode($name); $link = sprintf("vless://%s?%s#%s\r\n", $user, $query, $fragment); return $link; }