mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
IMAP: Fix 3479993, backslash in header
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1885 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
b275ba97ea
commit
dd9616ad7d
@ -994,7 +994,7 @@ public class ImapConnection extends AbstractConnection {
|
||||
}
|
||||
|
||||
protected void appendEnvelopeHeaderValue(StringBuilder buffer, String value) throws UnsupportedEncodingException {
|
||||
if (value.indexOf('"') >= 0) {
|
||||
if (value.indexOf('"') >= 0 || value.indexOf("\\") >= 0) {
|
||||
buffer.append('{');
|
||||
buffer.append(value.length());
|
||||
buffer.append("}\r\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user