fix(controller,app): correctly detect ip address for cookie domain resolution
arcad/emissary/pipeline/head This commit looks good
Details
arcad/emissary/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0d03a708f9
commit
e975381b4f
|
@ -143,7 +143,7 @@ func getCookieDomain(r *http.Request) (string, error) {
|
|||
}
|
||||
|
||||
// If host is an IP address
|
||||
if wildcard.Match(host, "*.*.*.*") {
|
||||
if ip := net.ParseIP(host); ip != nil {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue