dovecot-1.2: IMAP: FETCH X-* parameters weren't working.

dovecot at dovecot.org dovecot at dovecot.org
Fri Jul 10 23:27:59 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/f353c5b71097
changeset: 9225:f353c5b71097
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 27 16:43:59 2009 -0400
description:
IMAP: FETCH X-* parameters weren't working.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/imap-fetch.c |    2 +-

diffs (12 lines):

diff -r bdd8cb7f341a -r f353c5b71097 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c	Fri Jul 10 13:48:41 2009 -0400
+++ b/src/imap/imap-fetch.c	Mon Jul 27 16:43:59 2009 -0400
@@ -60,7 +60,7 @@ bool imap_fetch_init_handler(struct imap
 	const char *lookup_name, *p;
 	unsigned int count;
 
-	for (p = name; i_isalnum(*p); p++) ;
+	for (p = name; i_isalnum(*p) || *p == '-'; p++) ;
 	lookup_name = t_strdup_until(name, p);
 
 	handlers = array_get_modifiable(&fetch_handlers, &count);


More information about the dovecot-cvs mailing list