projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4659c3
)
* lowercase mimetype before looking it up; fixes mail rendering problem from mgiggles...
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 27 Jul 2009 07:26:29 +0000
(07:26 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 27 Jul 2009 07:26:29 +0000
(07:26 +0000)
webcit/messages.c
patch
|
blob
|
history
diff --git
a/webcit/messages.c
b/webcit/messages.c
index 55cf61d406b6377d21cc9264603a018e2bfe9f56..032c4a1331500f0dbb96450affcc673d2ac34515 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-232,6
+232,7
@@
int read_message(StrBuf *Target, const char *tmpl, long tmpllen, long msgnum, co
/* strip the bare contenttype, so we ommit charset etc. */
StrBufExtract_token(Buf, Msg->MsgBody->ContentType, 0, ';');
StrBufTrim(Buf);
+ StrBufLowerCase(Buf);
/* look up the renderer, that will convert this mimeitem into the htmlized form */
if (GetHash(MimeRenderHandler, SKEY(Buf), &vHdr) &&
(vHdr != NULL)) {