cURL / Mailing Lists / curl-library / Single Mail


RE: IMAP and Usernames

From: Steve Holme <>
Date: Sun, 25 Mar 2012 10:40:12 +0100

Hi Michael,

> > I think libcurl should detect and escape, so that the same rules apply
> > user names for libcurl's API independent of protocol.
> >
> > But your example made me curious. Is there other letters besides space
> > (ascii 32) that need quoting? What if you want to use the actuable quote
> > letter (") in a user name?
> If I'm reading section 9 of RFC3501 correctly, double quotes and
> backslashes should be escaped using backslashes, but it's more
> complicated than just that.

Cheers for that Michael... that gives me a good insight into things.

I've added the issue to my to do list and will have a go at fixing it as you

Kind Regards


List admin:
Received on 2012-03-25