summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2014-01-22 08:56:08 -0500
committerMatthew Barnes <mbarnes@redhat.com>2014-01-22 09:18:01 -0500
commita5350d6e8b1ef9e3b54839724ea68abb210fe10c (patch)
treef193f4c76075dd592c3326bda79c34e9abb303d8
parentb81954c21c809493e85f15ae085b25bd192494d0 (diff)
downloadevolution-data-server-a5350d6e8b1ef9e3b54839724ea68abb210fe10c.tar.gz
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)
-rw-r--r--camel/camel-imapx-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-imapx-utils.c b/camel/camel-imapx-utils.c
index f2b0fd864..c74290605 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)