diff --git a/node/rpcstack.go b/node/rpcstack.go index 0abad11f95..5ef9ec22c4 100644 --- a/node/rpcstack.go +++ b/node/rpcstack.go @@ -80,6 +80,7 @@ func (h *virtualHostHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { // Either invalid (too many colons) or no port specified host = r.Host } + host = strings.ToLower(host) if ipAddr := net.ParseIP(host); ipAddr != nil { // It's an IP address, we can serve that h.next.ServeHTTP(w, r)