Ignore:
Timestamp:
2001-07-12T22:40:05+12:00 (23 years ago)
Author:
jrm21
Message:

Needed to replace \s with
s. Also checked for multipart/related.

File:
1 edited

Legend:

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

    r2638 r2652  
    120120    # Parse the document's text and extract metadata
    121121    #
     122
     123    # Protect backslashes
     124    $$textref =~ s@\\@\\\\@g;
    122125
    123126    # Separate header from body of message
     
    351354        $text=$part_text;
    352355        }
    353     } elsif ($mimetype eq "multipart/mixed" ||
    354          $mimetype eq "multipart/digest") {
     356    } elsif ($mimetype =~ m@multipart/(mixed|digest|related)@) {
    355357        $text="";
    356358        foreach my $message_part (@message_parts) {
Note: See TracChangeset for help on using the changeset viewer.