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



commit a5350d6e8b1ef9e3b54839724ea68abb210fe10c
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.
    
    (cherry picked from commit 34f0f99f715bb3e308f1d838fac435b3d5fb6925)

 camel/camel-imapx-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-imapx-utils.c b/camel/camel-imapx-utils.c
index f2b0fd8..c742906 100644
--- a/camel/camel-imapx-utils.c
+++ b/camel/camel-imapx-utils.c
@@ -2933,7 +2933,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]