Menu

#1 Bug in folding code within the scanner

open
nobody
None
5
2007-11-16
2007-11-16
No

The consumeFolding() method is only checking for a SPACE character (decimal 32) as an allowed folding character sequence.

RFC 2445 states:
a long line can be split between any two characters by inserting a CRLF immediately followed by a single linear white space character (i.e., SPACE, US-ASCII decimal 32 or HTAB, US-ASCII decimal 9).

Regards
Ian

Discussion


Log in to post a comment.