Feature #43484 » 0003-Stop-using-legacy-application-x-pkcs7-signature-MIME.patch
| test/fixtures/mail_handler/smime_signature.eml | ||
|---|---|---|
| 5 | 5 |
To: <redmine@somenet.foo> |
| 6 | 6 |
Date: Wed, 03 Jun 2020 22:29:36 +0900 |
| 7 | 7 |
Content-Type: multipart/signed; micalg="sha-256"; |
| 8 |
protocol="application/x-pkcs7-signature";
|
|
| 8 |
protocol="application/pkcs7-signature"; |
|
| 9 | 9 |
boundary="=-a6R2ultRPmAp8zmxN9qV" |
| 10 | 10 |
X-Mailer: Evolution 3.28.5 (3.28.5-8.el7) |
| 11 | 11 |
Mime-Version: 1.0 |
| ... | ... | |
| 41 | 41 |
--=-WFkuWLE/majN4BpDwkgg-- |
| 42 | 42 | |
| 43 | 43 |
--=-a6R2ultRPmAp8zmxN9qV |
| 44 |
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
|
|
| 44 |
Content-Type: application/pkcs7-signature; name="smime.p7s" |
|
| 45 | 45 |
Content-Disposition: attachment; filename="smime.p7s" |
| 46 | 46 |
Content-Transfer-Encoding: base64 |
| 47 | 47 | |
| test/unit/mail_handler_test.rb | ||
|---|---|---|
| 1447 | 1447 |
assert_equal 'smime.sh.txt', issue.attachments[0].filename |
| 1448 | 1448 |
assert_equal 'text/plain', issue.attachments[0].content_type |
| 1449 | 1449 |
assert_equal 'smime.p7s', issue.attachments[1].filename |
| 1450 |
assert_equal 'application/x-pkcs7-signature', issue.attachments[1].content_type
|
|
| 1450 |
assert_equal 'application/pkcs7-signature', issue.attachments[1].content_type |
|
| 1451 | 1451 |
end |
| 1452 | 1452 | |
| 1453 | 1453 |
private |