diff --git a/internal/utils/decoders/header_decoder.go b/internal/utils/decoders/header_decoder.go index 5edd4e8..a2d36a2 100644 --- a/internal/utils/decoders/header_decoder.go +++ b/internal/utils/decoders/header_decoder.go @@ -107,7 +107,7 @@ func sortKeys(headers map[string]string, filters []string) []string { } for _, filter := range filters { - if len(key) >= len(filter) && strings.EqualFold(key[:len(filter)], filter) { + if strings.HasPrefix(key, filter+"-") { sortedKeys = append(sortedKeys, key) continue }