mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
commit
b563f3981f
1 changed files with 5 additions and 1 deletions
|
@ -393,7 +393,11 @@ func (c *clientConfig) parseURI() bool {
|
|||
return false
|
||||
}
|
||||
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
|
||||
q := u.Query()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue