forked from I2P_Developers/i2p.i2p
SusiMail: Fix header corruption (ticket #2139)
This commit is contained in:
@ -2346,10 +2346,10 @@ public class WebMail extends HttpServlet
|
||||
}
|
||||
String boundary = "_=" + I2PAppContext.getGlobalContext().random().nextLong();
|
||||
if (multipart) {
|
||||
body.append( "\r\nMIME-Version: 1.0\r\nContent-type: multipart/mixed; boundary=\"" + boundary + "\"\r\n\r\n" );
|
||||
body.append( "MIME-Version: 1.0\r\nContent-type: multipart/mixed; boundary=\"" + boundary + "\"\r\n\r\n" );
|
||||
}
|
||||
else {
|
||||
body.append( "\r\nMIME-Version: 1.0\r\nContent-type: text/plain; charset=\"utf-8\"\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\n" );
|
||||
body.append( "MIME-Version: 1.0\r\nContent-type: text/plain; charset=\"utf-8\"\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\n" );
|
||||
}
|
||||
try {
|
||||
// TODO pass the text separately to SMTP and let it pick the encoding
|
||||
|
@ -1,3 +1,6 @@
|
||||
2018-01-24 zzz
|
||||
* SusiMail: Fix header corruption (ticket #2139)
|
||||
|
||||
2018-01-19 zzz
|
||||
* i2ptunnel: Prevent changing sigtype after dest creation (ticket #2128)
|
||||
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 23;
|
||||
public final static long BUILD = 24;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
Reference in New Issue
Block a user