]> git.proxmox.com Git - pmg-api.git/commit
add new What Object 'Match Archive Filename'
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 16 Apr 2020 08:59:40 +0000 (10:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 16 Apr 2020 13:01:46 +0000 (15:01 +0200)
commit5e809f470d464e98943b24186e18e58600d797cc
tree39e4bd10e72e5a162f1f7d3e6737f53d76db8882
parent29d30ef8aea3a2e47456a637630b17433df72c64
add new What Object 'Match Archive Filename'

This behaves like the 'ArchiveFilter' to 'ContentTypeFilter', in that
it matches the filenames in archives, as well as the filenames of
attachments (via filename property in the mime header).

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-By: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-By: Stoiko Ivanov <s.ivanov@proxmox.com>
src/Makefile
src/PMG/API2/What.pm
src/PMG/RuleCache.pm
src/PMG/RuleDB.pm
src/PMG/RuleDB/MatchArchiveFilename.pm [new file with mode: 0644]