[pmg-devel] [PATCH pmg-api v2 0/3] fix content-type matching for parts without bodyhandle.

Stoiko Ivanov s.ivanov at proxmox.com
Tue Feb 25 12:15:01 CET 2025


supersedes:
https://lore.proxmox.com/pmg-devel/20250224210728.378493-1-s.ivanov@proxmox.com/T/#t

v1->v2: incorporated Dominik's feedback and added patch 3 which should
simplify the code a bit.

patches 2+3 could probably be squashed - if you want I can resent - else -
feel free to do so when applying.

tested with the failing regression-test, which now works again.


Stoiko Ivanov (3):
  ruledb: content-type: drop unreachable fallback for only_content
  ruledb: content-type: do not rely on PMX_header_ct
  utils: drop unneeded PMX_header_ct

 src/PMG/RuleDB/ArchiveFilter.pm     | 2 +-
 src/PMG/RuleDB/ContentTypeFilter.pm | 4 ++--
 src/PMG/Utils.pm                    | 2 --
 src/bin/pmg-smtp-filter             | 6 ++++--
 4 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.39.5





More information about the pmg-devel mailing list