caddy/modules/logging
Matthew Holt cffa6a0e8a logging: filter typed string and certificate SAN arrays
The hash, ip_mask, regexp and multi_regexp filters only handled
LoggableStringArray, so typed string, IP and URI slices (such as TLS
client certificate SANs) bypassed them. Filter those and string array
marshalers too, without mutating the source slices.

Addresses scan report 26365d1881c34ded.

Code written by GitHub Copilot (GPT-6.1 Sol, Claude Opus 5.5); reviewed by mholt.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-11 11:06:40 -07:00
..
appendencoder.go
cores.go logging: Customizable zap cores (#6381) 2024-06-10 09:03:24 -06:00
encoders.go logging: support ms duration format and add docs (#6187) 2024-03-21 22:17:09 -04:00
filewriter.go logging: use the default file mode for dir_mode from_file (#8225) 2026-10-16 22:26:57 +10:00
filewriter_test.go logging: use the default file mode for dir_mode from_file (#8225) 2026-10-16 22:26:57 +10:00
filewriter_test_windows.go logging: add DirMode options and propagate FileMode to rotations (#7335) 2026-02-23 07:27:27 +00:00
filterencoder.go logging: filter typed string and certificate SAN arrays 2026-11-11 11:06:40 -07:00
filters.go logging: filter typed string and certificate SAN arrays 2026-11-11 11:06:40 -07:00
filters_test.go logging: Parse request URIs in the query filter like the server does (#8255) 2026-10-19 07:43:29 +00:00
filters_typed_test.go logging: filter typed string and certificate SAN arrays 2026-11-11 11:06:40 -07:00
journaldencoder.go logging: preserve ts for journald-wrapped JSON logs (#7644) 2026-04-13 17:33:02 -06:00
journaldencoder_test.go logging: preserve ts for journald-wrapped JSON logs (#7644) 2026-04-13 17:33:02 -06:00
netwriter.go chore: ugh, lint fix... (#7275) 2025-09-26 03:14:48 -04:00
nopencoder.go