diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-29 16:17:04 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-04 12:57:04 +0200 |
commit | e452707fdfbd61be1e5633b516b653b7337e7865 (patch) | |
tree | 1e1d4b48ebf8d381f292436f2ba04b8763edc5de /framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-wrong-charset-encrypted.mbox.html | |
parent | 5a1033bdace740799a6e03389bee30e5a4de5d44 (diff) | |
download | kube-e452707fdfbd61be1e5633b516b653b7337e7865.tar.gz kube-e452707fdfbd61be1e5633b516b653b7337e7865.zip |
Reduced the messagetreeparser to aproximately what we actually require
While in a much more managable state it's still not pretty.
However, further refactoring can now gradually happen as we need to do
further work on it.
Things that should happen eventually:
* Simplify the logic that creates the messageparts (we don't need the whole formatter plugin complexity)
* Get rid of the nodehelper (let the parts hold the necessary data)
* Get rid of partmetadata (let the part handleit)
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-wrong-charset-encrypted.mbox.html')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-wrong-charset-encrypted.mbox.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-wrong-charset-encrypted.mbox.html b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-wrong-charset-encrypted.mbox.html new file mode 100644 index 00000000..3ed4e0fb --- /dev/null +++ b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-wrong-charset-encrypted.mbox.html | |||
@@ -0,0 +1,47 @@ | |||
1 | <?xml version="1.0" encoding="UTF8"?> | ||
2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
3 | <html> | ||
4 | <body> | ||
5 | <div style="position: relative; word-wrap: break-word"> | ||
6 | <a name="att"/> | ||
7 | <div id="attachmentDiv"> | ||
8 | <table cellspacing="1" cellpadding="1" class="encr"> | ||
9 | <tr class="encrH"> | ||
10 | <td dir="ltr">Encrypted message</td> | ||
11 | </tr> | ||
12 | <tr class="encrB"> | ||
13 | <td> | ||
14 | <table cellspacing="1" cellpadding="1" class="signOkKeyOk"> | ||
15 | <tr class="signOkKeyOkH"> | ||
16 | <td dir="ltr"> | ||
17 | <table cellspacing="0" cellpadding="0" width="100%"> | ||
18 | <tr> | ||
19 | <td>Signed by <a href="mailto:test@kolab.org">test@kolab.org</a>.</td> | ||
20 | <td align="right"> | ||
21 | <a href="kmail:showSignatureDetails">Show Details</a> | ||
22 | </td> | ||
23 | </tr> | ||
24 | </table> | ||
25 | </td> | ||
26 | </tr> | ||
27 | <tr class="signOkKeyOkB"> | ||
28 | <td> | ||
29 | <div class="noquote"> | ||
30 | <div dir="ltr">This is a utf-8 message you see - öäüß@ł€¶ŧ←↓→øþ</div> | ||
31 | </div> | ||
32 | </td> | ||
33 | </tr> | ||
34 | <tr class="signOkKeyOkH"> | ||
35 | <td dir="ltr">End of signed message</td> | ||
36 | </tr> | ||
37 | </table> | ||
38 | </td> | ||
39 | </tr> | ||
40 | <tr class="encrH"> | ||
41 | <td dir="ltr">End of encrypted message</td> | ||
42 | </tr> | ||
43 | </table> | ||
44 | </div> | ||
45 | </div> | ||
46 | </body> | ||
47 | </html> | ||