From: Wilfried Göesgens Date: Wed, 27 Aug 2008 23:01:15 +0000 (+0000) Subject: * quick check the email address for quoted printable encoding, so the de-qp'er doesn... X-Git-Tag: v7.86~1991 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=76fab287198d1da021be18e608717bacb953e169 * quick check the email address for quoted printable encoding, so the de-qp'er doesn't jam our umlauts --- diff --git a/citadel/internet_addressing.c b/citadel/internet_addressing.c index 2cffe3d5b..c96d722e1 100644 --- a/citadel/internet_addressing.c +++ b/citadel/internet_addressing.c @@ -1010,7 +1010,8 @@ char *harvest_collected_addresses(struct CtdlMessage *msg) { if (msg->cm_fields[field] != NULL) { for (j=0; jcm_fields[field], ','); ++j) { extract_token(addr, msg->cm_fields[field], j, ',', sizeof addr); - utf8ify_rfc822_string(addr); + if (strstr(addr, "=?") != NULL) + utf8ify_rfc822_string(addr); process_rfc822_addr(addr, user, node, name); h = CtdlHostAlias(node); if ( (h != hostalias_localhost) && (h != hostalias_directory) ) {