mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-05-14 10:00:34 +00:00
fix: normalize browser dialer UUID before parsing
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/d0035ff5-3633-402f-890e-e68c267a65c1 Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e06c536ce6
commit
1d4250e6f0
@@ -105,8 +105,8 @@ func parseBrowserDialerAddress(addr string) (*browserDialerAddress, bool) {
|
||||
if len(id) != 36 {
|
||||
return nil, false
|
||||
}
|
||||
parsedUUID, err := uuid.ParseString(id)
|
||||
id = strings.ToLower(id)
|
||||
parsedUUID, err := uuid.ParseString(id)
|
||||
if err != nil || parsedUUID.String() != id {
|
||||
return nil, false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user