Displaying 2 results from an estimated 2 matches for "imap_utf8_to_utf7".
2013 Jun 11
2
Connection closed by foreign host.
i tried the latest dev version 2.2.2-0~auto54 for ubuntu and when i do some
testing i got a connection closed.
the commands are issued through telnet:
root at i920:~# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
1 LOGIN
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
..., "section");
+ URL_DECODE(expiration, "expiration");
+ URL_DECODE(access, "access ID");
+ URL_DECODE(mechanism, "mechanism");
+ URL_DECODE(urlauth, "urlauth token");
+ // do not set dec_parts->rump
+
+ if (dec_parts->mailbox != NULL) {
+ if (imap_utf8_to_utf7(dec_parts->mailbox, str) == 0)
+ dec_parts->mailbox = t_strdup(str_c(str));
+ else {
+ *error = "invalid UTF-8 mailbox";
+ str_free(&str);
+ return FALSE;
+ }
+ }
+ str_truncate(str, 0);
+
+ if (dec_parts->expiration != NULL)
+ dec_parts->expiration_time =
+ i...