curl-library
pop3 unescape CR LF .
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Nov 2011 23:25:13 +0100 (CET)
Date: Mon, 28 Nov 2011 23:25:13 +0100 (CET)
Hi
When a POP3 server wants to sent a line that starts with a dot (0x2e) to a
client, it escapes that by sending an extra dot (RFC1939 section 3).
This means a POP3 client needs to remove the dot if CR LF '.' is received and
IS NOT immediately followed by CR LF.
libcurl currently doesn't even attempt to do this, while all lines that starts
with a dot that is received by libcurl will have a dot extra.
We should fix this...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-11-28