mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-28 05:03:02 +00:00
Fix Tuic
This commit is contained in:
parent
1b79d2f560
commit
ad685fcc03
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ public class TuicFmt : BaseFmt
|
||||||
var userInfoParts = rawUserInfo.Split(new[] { ':' }, 2);
|
var userInfoParts = rawUserInfo.Split(new[] { ':' }, 2);
|
||||||
if (userInfoParts.Length == 2)
|
if (userInfoParts.Length == 2)
|
||||||
{
|
{
|
||||||
item.Password = userInfoParts.First();
|
item.SetProtocolExtra(item.GetProtocolExtra() with { Username = userInfoParts.First() });
|
||||||
item.SetProtocolExtra(item.GetProtocolExtra() with { Username = userInfoParts.Last() });
|
item.Password = userInfoParts.Last();
|
||||||
}
|
}
|
||||||
|
|
||||||
var query = Utils.ParseQueryString(url.Query);
|
var query = Utils.ParseQueryString(url.Query);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue