@marcel91200 / caddy Mirror · read-only / commits / 9c78b97f
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 12:15 UTC

fastcgi: Fix lint

Matthew Holt committed May 8, 2026 at 10:46 UTC 9c78b97f9e79773d45cf3ad0326bfb5480861ac0
1 file changed +1 -1
modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go
+1 -1
@@ -449,7 +449,7 @@ func (t Transport) splitPos(path string) int {
449
450 for i := 0; i <= pathLen-splitLen; i++ {
451 match := true
452 - for j := 0; j < splitLen; j++ {
452 + for j := range splitLen {
453 c := path[i+j]
454 if c >= utf8.RuneSelf {
455 match = false