diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-16 00:11:40 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-16 00:11:40 +0800 |
commit | 6313647810adb53640b429819dbd50a98aa78fe2 (patch) | |
tree | 86e9bfe25e952b0c2e89ecc4562e6a3aca588254 /camel | |
parent | c692eb0612942d959dd119063d68741a4694ff00 (diff) | |
download | gsoc2013-evolution-6313647810adb53640b429819dbd50a98aa78fe2.tar.gz gsoc2013-evolution-6313647810adb53640b429819dbd50a98aa78fe2.tar.zst gsoc2013-evolution-6313647810adb53640b429819dbd50a98aa78fe2.zip |
Changed imap_atom_specials[] to not treat ']' as an atom char (as per
2004-04-15 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 6 |
2 files changed, 10 insertions, 2 deletions
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 <fejj@ximian.com> + + * 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 <fejj@ximian.com> * 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 ::= <any CHAR except atom_specials> atom_specials ::= "(" / ")" / "{" / SPACE / CTL / list_wildcards / - quoted_specials + quoted_specials / resp_secials CHAR ::= <any 7-bit US-ASCII character except NUL, 0x01 - 0x7f> @@ -544,6 +544,8 @@ SPACE ::= <ASCII SP, space, 0x20> 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, |