[Imap-uw] c-client bug? Content-location datatype - stringlist or
to_amitmohan at yahoo.com
Tue Oct 23 05:17:44 PDT 2007
I have a query regarding the support of "location" member of the BODY
In mail.h its datatype is char*
char *location; /* body content URI */
But the RFC3501 says its a *stringlist*.
A *string list* giving the body content URI as defined in
Hence the problem is seen when following code is executed in
body->location = imap_parse_string
I am facing this issue against an imap server with RFC3501
implementing "content-location" as stringlist.
C: fetch bodystructure
S: * 1 FETCH (BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "us-ascii")
<SPACE>NIL NIL "7BIT" 323 14 NIL NIL NIL NIL)("TEXT"
("CHARSET" "iso-8859-1") NIL NIL "QUOTED-PRINTABLE"
1111 NIL NIL NIL ("http://home.netscape.com/"))<SPACE>
NIL NIL NIL))
Note the parentheses in ("http://home.netscape.com/") above response.
UW IMAP does not handle '(' and ')' when looking for char*, but it
does handle this for STRINGLIST datatype.
Its impact is very high - not able to see attachment.
Am I missing something here or is it a bug in c-client library.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Imap-uw