From 57c0b034e61474d8faddb92b073fb3b94910c0ed Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Sun, 6 Sep 2026 11:21:29 +0300 Subject: [PATCH] fixed non-ascii dash in hinted proxy header --- apis/health.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/health.go b/apis/health.go index aa438070..1d512796 100644 --- a/apis/health.go +++ b/apis/health.go @@ -37,7 +37,7 @@ func healthCheck(e *core.RequestEvent) error { headersToCheck := append( slices.Clone(e.App.Settings().TrustedProxy.Headers), // common proxy headers - "CF-Connecting-IP", "Fly-Client-IP", "X‑Forwarded-For", + "CF-Connecting-IP", "Fly-Client-IP", "X-Forwarded-For", ) for _, header := range headersToCheck { if e.Request.Header.Get(header) != "" {