Compare commits

..

2 Commits

Author SHA1 Message Date
d188af81af chore: update edge lib without goproxy
All checks were successful
arcad/emissary/pipeline/head This commit looks good
2023-04-25 13:54:01 +02:00
e975381b4f fix(controller,app): correctly detect ip address for cookie domain resolution
All checks were successful
arcad/emissary/pipeline/head This commit looks good
2023-04-24 13:49:53 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ full-version:
update-edge-lib:
git pull --rebase
GOPRIVATE=forge.cadoles.com/arcad/edge go get -u forge.cadoles.com/arcad/edge
GOPROXY=direct GOPRIVATE=forge.cadoles.com/arcad/edge go get -u forge.cadoles.com/arcad/edge
go mod tidy
$(MAKE) test
git add go.mod go.sum

View File

@ -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
}