From 6313647810adb53640b429819dbd50a98aa78fe2 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 15 Apr 2004 16:11:40 +0000 Subject: Changed imap_atom_specials[] to not treat ']' as an atom char (as per 2004-04-15 Jeffrey Stedfast * providers/imap/camel-imap-utils.c: Changed imap_atom_specials[] to not treat ']' as an atom char (as per rfc3501). Fixes bug #50985. svn path=/trunk/; revision=25485 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-utils.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 2598c12153..7710d6f6c3 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2004-04-15 Jeffrey Stedfast + + * providers/imap/camel-imap-utils.c: Changed imap_atom_specials[] + to not treat ']' as an atom char (as per rfc3501). Fixes bug + #50985. + 2004-04-14 Jeffrey Stedfast * providers/imap/camel-imap-store.c diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index 4fbe3232b5..ca94c180ec 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -531,7 +531,7 @@ imap_parse_flag_list (char **flag_list_p) ATOM_CHAR ::= atom_specials ::= "(" / ")" / "{" / SPACE / CTL / list_wildcards / - quoted_specials + quoted_specials / resp_secials CHAR ::= @@ -544,6 +544,8 @@ SPACE ::= list_wildcards ::= "%" / "*" quoted_specials ::= <"> / "\" + +resp_specials ::= "]" */ static unsigned char imap_atom_specials[256] = { @@ -552,7 +554,7 @@ static unsigned char imap_atom_specials[256] = { /* 20 */0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, /* 30 */1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 40 */1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -/* 50 */1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, +/* 50 */1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, /* 60 */1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 70 */1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- cgit v1.2.3