diff -ruN sylpheed-0.8.8.orig/src/procmime.c sylpheed-0.8.8/src/procmime.c --- sylpheed-0.8.8.orig/src/procmime.c 2003-01-12 00:52:52.000000000 +0100 +++ sylpheed-0.8.8/src/procmime.c 2003-01-12 02:11:32.000000000 +0100 @@ -973,7 +973,7 @@ g_strstrip(buf); p = buf; - while (*p && !isspace(*p)) p++; + while (*p && !isspace(*p) && (*p!=':')) p++; if (*p) { *p = '\0'; p++; @@ -986,7 +986,7 @@ mime_type->type = g_strdup(buf); mime_type->sub_type = g_strdup(delim + 1); - while (*p && isspace(*p)) p++; + while (*p && (isspace(*p)||(*p=="*")||(*p=='.'))) p++; if (*p) mime_type->extension = g_strdup(p); else