From: Timo Sirainen Date: Mon, 27 Jul 2009 20:43:59 +0000 (-0400) Subject: IMAP: FETCH X-* parameters weren't working. X-Git-Tag: 2.0.alpha1~442 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=730a03383dcf0abf0ab043fd0094336e6684a99f;p=thirdparty%2Fdovecot%2Fcore.git IMAP: FETCH X-* parameters weren't working. --HG-- branch : HEAD --- diff --git a/src/imap/imap-fetch.c b/src/imap/imap-fetch.c index 826c490687..31fa3c9d11 100644 --- a/src/imap/imap-fetch.c +++ b/src/imap/imap-fetch.c @@ -50,7 +50,7 @@ bool imap_fetch_init_handler(struct imap_fetch_context *ctx, const char *name, const struct imap_fetch_handler *handler; const char *lookup_name, *p; - for (p = name; i_isalnum(*p); p++) ; + for (p = name; i_isalnum(*p) || *p == '-'; p++) ; lookup_name = t_strdup_until(name, p); handler = array_bsearch(&fetch_handlers, lookup_name,