diff --git a/src/worker-with-socks5-experimental.js b/src/worker-with-socks5-experimental.js index 2c50251439..880725eba9 100644 --- a/src/worker-with-socks5-experimental.js +++ b/src/worker-with-socks5-experimental.js @@ -769,7 +769,7 @@ function socks5AddressParser(address) { * @returns {string} */ function getVLESSConfig(userID, hostName) { - const vlessMain = `vless://${userID}@${hostName}:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#${hostName}` + const vlessMain = `vless://${userID}\u0040${hostName}:443?encryption=none&security=tls&sni=${hostName}&fp=randomized&type=ws&host=${hostName}&path=%2F%3Fed%3D2048#${hostName}` return ` ################################################################ v2ray