Changeset 3352


Ignore:
Timestamp:
2002-08-14T16:46:11+12:00 (22 years ago)
Author:
jrm21
Message:

We can now properly handle messages with a content type of "multipart/signed"
for messages using PGP/GPG key signing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/EMAILPlug.pm

    r3351 r3352  
    499499        $text=$part_text;
    500500        }
    501     } elsif ($mimetype =~ m@multipart/(mixed|digest|related)@) {
     501    } elsif ($mimetype =~ m@multipart/(mixed|digest|related|signed)@) {
    502502        $text="";
     503        # signed is for PGP/GPG messages... the last part is a hash
     504        if ($mimetype =~ m@multipart/signed@) {
     505        pop @message_parts;
     506        }
    503507        foreach my $message_part (@message_parts) {
    504508        my $part_header=$message_part;
Note: See TracChangeset for help on using the changeset viewer.