caddy/caddytest
Zongze Wu bbf1dfcea2
headers: Support placeholders in replacement search patterns (#7117)
* fix: resolve http.request placeholders in header directive find operation

- Skip regex compilation during provision when placeholders are detected
- Compile regex at runtime after placeholder replacement
- Preserves performance for static regexes while enabling dynamic placeholders
- Fixes #7109

* test: add tests for placeholder detection in header replacements

- Test containsPlaceholders function edge cases
- Test provision skips compilation for dynamic regexes
- Test end-to-end placeholder replacement functionality
2025-07-14 14:55:00 -06:00
..
integration headers: Support placeholders in replacement search patterns (#7117) 2025-07-14 14:55:00 -06:00
a.caddy.localhost.crt
…
a.caddy.localhost.key
…
caddy.ca.cer
…
caddy.localhost.crt
…
caddy.localhost.key
…
caddytest.go chore: upgrade .golangci.yml and workflow to v2 (#6924) 2025-06-03 02:24:32 +03:00
caddytest_test.go
…
leafcert.pem
…