[evolution-data-server] Bug 722275 - IMAPX: Parser trips on mailbox containing '+'



commit 34f0f99f715bb3e308f1d838fac435b3d5fb6925
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jan 22 08:56:08 2014 -0500

    Bug 722275 - IMAPX: Parser trips on mailbox containing '+'
    
    Mailbox names containing a '+' character were tripping up the parser due
    to it being treated as one of a special set of characters to distinguish
    identifiers from IMAP syntax.  But I don't think '+' is necessary in the
    set of characters.  For continuations, at least, it should always follow
    a newline character, with is also a special character.

 camel/providers/imapx/camel-imapx-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-utils.c b/camel/providers/imapx/camel-imapx-utils.c
index 2c552c3..aa06329 100644
--- a/camel/providers/imapx/camel-imapx-utils.c
+++ b/camel/providers/imapx/camel-imapx-utils.c
@@ -2809,7 +2809,7 @@ guchar imapx_specials[256] = {
 
 /* special types for the tokeniser, come out as raw tokens */
 #define token_specials "\n*()[]+"
-#define notid_specials "\x20\r\n()[]+"
+#define notid_specials "\x20\r\n()[]"
 
 void
 imapx_utils_init (void)


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