mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-11 15:04:59 +03:00
Improve code
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
var userInfoParts = rawUserInfo.Split(new[] { ':' }, 2);
|
||||
if (userInfoParts.Length == 2)
|
||||
{
|
||||
item.Id = userInfoParts[0];
|
||||
item.Security = userInfoParts[1];
|
||||
item.Id = userInfoParts.First();
|
||||
item.Security = userInfoParts.Last();
|
||||
}
|
||||
|
||||
var query = Utils.ParseQueryString(url.Query);
|
||||
|
||||
Reference in New Issue
Block a user