From 9c78b97f9e79773d45cf3ad0326bfb5480861ac0 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 8 May 2026 10:46:28 -0600 Subject: [PATCH] fastcgi: Fix lint --- modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go b/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go index 3e0436062..f91394e58 100644 --- a/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go +++ b/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go @@ -449,7 +449,7 @@ func (t Transport) splitPos(path string) int { for i := 0; i <= pathLen-splitLen; i++ { match := true - for j := 0; j < splitLen; j++ { + for j := range splitLen { c := path[i+j] if c >= utf8.RuneSelf { match = false