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, 22:15 UTC
chore: fix inconsistent function name in comment (#7174)
Signed-off-by: youzichuan <youzichuan6@outlook.com>
youzichuan committed
Aug 13, 2025 at 15:05 UTC
09b53a753c9fb6c52672939ff0142172bafe2098
1 file changed
+1
-1
modules/caddyhttp/headers/headers.go
+1
-1
@@ -159,7 +159,7 @@ func (ops *HeaderOps) Provision(_ caddy.Context) error {
159
return nil
160
}
161
162
-// containsCaddyPlaceholders checks if the string contains Caddy placeholder syntax {key}
162
+// containsPlaceholders checks if the string contains Caddy placeholder syntax {key}
163
func containsPlaceholders(s string) bool {
164
openIdx := strings.Index(s, "{")
165
if openIdx == -1 {