Menu

#14 Multiline message headers not correctly read

open
nobody
None
5
2005-11-11
2005-11-11
No

RFC822 allows for message headers to be split across
multiple lines. Dumbster does not handle these correctly.

The attached patch against Dumbster 1.6 fixes this. It
includes a unit test.

Discussion

  • Rhett Sutphin

    Rhett Sutphin - 2005-11-11
     
  • Nobody/Anonymous

    Logged In: NO

    Change SmtpRequest like this:
    } else if (state == SmtpState.DATA_BODY) {
    if (s.equals(".")) {
    action = SmtpActionType.DATA_END;
    } else {
    action = SmtpActionType.UNRECOG;
    params = s + "\n";
    }

    :-) Mattin

     

Log in to post a comment.