aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/leaky.eml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/fixtures/leaky.eml b/tests/fixtures/leaky.eml
new file mode 100644
index 0000000..840ce6d
--- /dev/null
+++ b/tests/fixtures/leaky.eml
@@ -0,0 +1,20 @@
+Received: from mx.example.org (mx.example.org [192.0.2.11])
+ by mail.example.org (Postfix) with ESMTP id III99
+ for <you@example.org>; Tue, 8 Sep 2026 16:00:02 +0200 (CEST)
+Received: from sender.example.invalid (unknown [203.0.113.42])
+ by mx.example.org (Postfix) with ESMTP id JJJ11
+ for <you@example.org>; Tue, 8 Sep 2026 16:00:01 +0200 (CEST)
+Return-Path: <bounce@sender.example.invalid>
+From: "Billing at billing@innocent.example" <phish@sender.example.invalid>
+To: <you@example.org>
+Subject: Confirm now
+Message-ID: <eee555@sender.example.invalid>
+Date: Tue, 8 Sep 2026 16:00:00 +0200
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf-8
+
+Plain value: http://a.example.invalid/p?e=you@example.org
+Valueless param: http://b.example.invalid/p?you@example.org
+In the fragment: http://c.example.invalid/p#e=you@example.org
+In userinfo: http://you%40example.org:pw@d.example.invalid/p
+Nested redirect: http://t.example.invalid/c?url=http%3A%2F%2Fe.example.invalid%2Fp%3Fe%3Dyou%40example.org