mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-04 21:17:47 +03:00
commit
b563f3981f
1 changed files with 5 additions and 1 deletions
|
@ -393,7 +393,11 @@ func (c *clientConfig) parseURI() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if u.User != nil {
|
if u.User != nil {
|
||||||
c.Auth = u.User.String()
|
auth, err := url.QueryUnescape(u.User.String())
|
||||||
|
if err != nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
c.Auth = auth
|
||||||
}
|
}
|
||||||
c.Server = u.Host
|
c.Server = u.Host
|
||||||
q := u.Query()
|
q := u.Query()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue