Menu

#618 Subject header is broken in some situation.

closed-fixed
None
5
2004-02-20
2003-11-20
No

If the e-mail has the line "Subject:" (no characters
after colon) in the header, POPFile moves this line to
the last line of the header.

For example,

....
From: foo@bar
Subject:
this is a subject.
....

this header is changed to:

....
From: foo@bar
this is a subject.
....
Subject:

--
This problem can be solved by changing two lines in
Bayes.pm, like:

my $msg_subject = ''; # The message subject

to

my $msg_subject ; # The message subject

and

if ( $msg_subject eq '' ) {

to

if ( !defined($msg_subject) ) {

Discussion

  • Sam Schinke

    Sam Schinke - 2003-11-23

    Logged In: YES
    user_id=640073

    I think this is related to two other bugs. Assigning to me.

    Regards,
    Sam

     
  • Sam Schinke

    Sam Schinke - 2003-11-23
    • assigned_to: nobody --> sschinke
     
  • naoki iimura

    naoki iimura - 2004-02-09

    Logged In: YES
    user_id=372164

    Bayes.pm patch (for 0.20.1)

     
  • naoki iimura

    naoki iimura - 2004-02-09

    Bayes.pm patch for 0.20.1

     
  • John Graham-Cumming

    • status: open --> closed-fixed
     

Log in to post a comment.