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.
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.
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