]> git.proxmox.com Git - pmg-api.git/commit
quarantine: fix adding non-ascii senders to wl/bl
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 24 Nov 2022 12:21:09 +0000 (13:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Nov 2022 13:38:44 +0000 (14:38 +0100)
commit639b28e6f9e3d28676346417290bfd0f1e1eba39
tree1de64ba062d9ded3bd9568a86ef5cf34b7f16d70
parent7a6e696605f2c6804414e40ea71192f0eb7c1337
quarantine: fix adding non-ascii senders to wl/bl

by trying to decode them since they maybe were sent with SMTPUTF8
also make 'try_decode_utf8' an export of Utils and use that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/API2/Quarantine.pm
src/PMG/Utils.pm