summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-29 13:18:38 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-29 15:32:12 (GMT)
commitf0d8b1d6442c338a35c823dc3231f95f31bb6d11 (patch)
treefa1b6fc71ef1d63e1b49640cd4b1e4709e425cca
parent8e69c157255520fff70b1cf95c7a84da5d233229 (diff)
Add data test
-rw-r--r--messageviewer/src/viewer/webengine/tests/data/html.mbox29
1 files changed, 29 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/tests/data/html.mbox b/messageviewer/src/viewer/webengine/tests/data/html.mbox
new file mode 100644
index 0000000..a264681
--- /dev/null
+++ b/messageviewer/src/viewer/webengine/tests/data/html.mbox
@@ -0,0 +1,29 @@
+From foo@example.com Thu, 26 May 2011 01:16:54 +0100
+From: Thomas McGuire <foo@example.com>
+Subject: HTML test
+Date: Thu, 26 May 2011 01:16:54 +0100
+Message-ID: <1501334.pROlBb7MZF@herrwackelpudding.localhost>
+X-KMail-Transport: GMX
+X-KMail-Fcc: 28
+X-KMail-Drafts: 7
+X-KMail-Templates: 9
+User-Agent: KMail/4.6 beta5 (Linux/2.6.34.7-0.7-desktop; KDE/4.6.41; x86_64; git-0269848; 2011-04-19)
+MIME-Version: 1.0
+Content-Type: multipart/alternative; boundary="nextPart8606278.tpV19BTJKu"
+Content-Transfer-Encoding: 7Bit
+
+
+--nextPart8606278.tpV19BTJKu
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/plain; charset="windows-1252"
+
+Some HTML text
+--nextPart8606278.tpV19BTJKu
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/html; charset="windows-1252"
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head>
+<p>Some <span style=" font-weight:600;">HTML</span> text</p><a href=https://"><script>alert(1)</script><\"></body></html>
+--nextPart8606278.tpV19BTJKu--
+