[evolution-data-server] I#27 - [IMAPx] Ignore DavMail's CR/LF in BODYSTRUCTURE response



commit 312b936113a0edea0c4f374227a79a4ab9ca6f25
Author: Igor Makarov <klim iv gmail com>
Date:   Wed Aug 22 17:44:35 2018 +0200

    I#27 - [IMAPx] Ignore DavMail's CR/LF in BODYSTRUCTURE response
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/27

 src/camel/providers/imapx/camel-imapx-input-stream.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-input-stream.c 
b/src/camel/providers/imapx/camel-imapx-input-stream.c
index a757fa067..f47b08f7d 100644
--- a/src/camel/providers/imapx/camel-imapx-input-stream.c
+++ b/src/camel/providers/imapx/camel-imapx-input-stream.c
@@ -826,8 +826,6 @@ camel_imapx_input_stream_token (CamelIMAPXInputStream *is,
                                        *len = o - is->priv->tokenbuf;
                                        return IMAPX_TOK_STRING;
                                }
-                               if (c == '\n' || c == '\r')
-                                       goto protocol_error;
                                if (o >= oe) {
                                        camel_imapx_input_stream_grow (is, 0, &p, &o);
                                        oe = is->priv->tokenbuf + is->priv->bufsize - 1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]