From 32f3c4c0cf1f567e95ea8dd81cbac291ffb66521 Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Fri, 24 Apr 2026 20:00:00 +0800 Subject: [PATCH] node: host lookup should use lowercase --- node/rpcstack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/rpcstack.go b/node/rpcstack.go index 20d488b734..cc4af5d6b4 100644 --- a/node/rpcstack.go +++ b/node/rpcstack.go @@ -473,7 +473,7 @@ func (h *virtualHostHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { h.next.ServeHTTP(w, r) return } - if _, exist := h.vhosts[host]; exist { + if _, exist := h.vhosts[strings.ToLower(host)]; exist { h.next.ServeHTTP(w, r) return }