~bestpractical/rt/4.4

« back to all changes in this revision

Viewing changes to lib/RT/Interface/Email/Crypt.pm

  • Committer: sunnavy
  • Date: 2023-10-19 19:21:12 UTC
  • mfrom: (8994.2.1)
  • Revision ID: git-v1:019efbaab6930affe82819ffa2e8e2ac9b5c1f2c
Merge branch '4.4.7-releng' into 4.4-trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    );
74
74
 
75
75
    # we clean all possible headers
76
 
    my @headers =
 
76
    my @headers = (
77
77
        qw(
78
78
            X-RT-Incoming-Encryption
79
79
            X-RT-Incoming-Signature X-RT-Privacy
80
80
            X-RT-Sign X-RT-Encrypt
81
81
        ),
82
 
        map "X-RT-$_-Status", RT::Crypt->Protocols;
 
82
        map "X-RT-$_-Status", RT::Crypt->Protocols
 
83
    );
83
84
    foreach my $p ( $args{'Message'}->parts_DFS ) {
84
85
        $p->head->delete($_) for @headers;
85
86
    }