Bug 436869 - non-standard MIME types, application/x-pkcs7-mime and application/x-pkcs7-signature - don't need the x- prefix; additional patch for mime/emitters; r+sr=bienvenu

This commit is contained in:
Kai Engert 2009-08-24 04:09:36 +02:00
Родитель 47fa638666
Коммит 16d8176d5c
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -530,7 +530,9 @@ nsMimeHtmlDisplayEmitter::StartAttachmentInBody(const nsACString &name,
if ( (contentType) &&
((!strcmp(contentType, APPLICATION_XPKCS7_MIME)) ||
(!strcmp(contentType, APPLICATION_PKCS7_MIME)) ||
(!strcmp(contentType, APPLICATION_XPKCS7_SIGNATURE)) ||
(!strcmp(contentType, APPLICATION_PKCS7_SIGNATURE)) ||
(!strcmp(contentType, TEXT_VCARD)))
) {
mSkipAttachment = PR_TRUE;