Bug: gnu.mail.util.QPOutputStream encodes linebreaks
Andy Wu <[email protected]> Mon, 28 Aug 2006 10:14:08 +0100
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
Hi, I believe I've found a bug in the QPOutputStream code. When it comes across a line break both "\r\n" and "=0D=0A" are being output resulting in extraneous new lines. The fault appears to lie in the write( int b ) method. If b=='\r' or b=='\n' the last if block should be avoided as the outputCRLF() will have already done what's required. Regards Andy Wu