diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mailnews/test/data/multipart-complex2 | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/mailnews/test/data/multipart-complex2')
-rw-r--r-- | comm/mailnews/test/data/multipart-complex2 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/comm/mailnews/test/data/multipart-complex2 b/comm/mailnews/test/data/multipart-complex2 new file mode 100644 index 0000000000..0898d02810 --- /dev/null +++ b/comm/mailnews/test/data/multipart-complex2 @@ -0,0 +1,62 @@ +From - Mon Jun 02 19:00:00 2008
+Content-Type: multipart/mixed; boundary="bou"
+Message-Id: <123456@example.com>
+
+Part 1
+--bou
+Content-Type: multipart/related; boundary="bound"
+
+Part 2
+--bound
+Content-Type: multipart/digest; boundary="boundar"
+
+Part 3
+--boundar
+Content-Type: multipart/alternative; boundary="boundary"
+
+Part 4
+--boundary
+Content-Type: application/octet-stream
+
+Wow, what alternatives!
+
+We're trying to confuse the parser here.
+
+--bou
+
+--bound
+
+--boundar
+
+--boundary
+Content-Type: application/pdf
+
+A choice between a PDF and an octet stream! How marvellous!
+
+--boundary--
+
+--boundar
+Content-Type: multipart/mixed; boundary="boundary123456"
+
+--boundary123456
+Content-Type: text/plain
+
+This is the correct answer.
+
+--boundary123456--
+
+--boundar--
+
+--bound
+Content-Type: text/plain
+
+One last attempt at confusing the parser.
+
+--bound--
+
+--bou
+Content-Type: text/html
+
+<html><body>No harm in making another.</body></html>
+
+--bou--
|