From 762d9fcf7b4499da87fd913cc629a999d782d239 Mon Sep 17 00:00:00 2001 From: JoshyPHP Date: Tue, 18 Aug 2020 12:11:40 +0200 Subject: [PATCH] [ticket/16580] Updated email-related test This ensures that re-activating email fields does not introduce any exploit PHPBB3-16580 --- tests/text_processing/tickets_data/PHPBB3-10922.html | 1 + tests/text_processing/tickets_data/PHPBB3-10922.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/text_processing/tickets_data/PHPBB3-10922.html b/tests/text_processing/tickets_data/PHPBB3-10922.html index 3ff117f171..1e5d1960a4 100644 --- a/tests/text_processing/tickets_data/PHPBB3-10922.html +++ b/tests/text_processing/tickets_data/PHPBB3-10922.html @@ -7,3 +7,4 @@ user@example.org
user@example.org
...
+user@example.org
diff --git a/tests/text_processing/tickets_data/PHPBB3-10922.txt b/tests/text_processing/tickets_data/PHPBB3-10922.txt index e533ce6ed5..76a34235fb 100644 --- a/tests/text_processing/tickets_data/PHPBB3-10922.txt +++ b/tests/text_processing/tickets_data/PHPBB3-10922.txt @@ -7,3 +7,4 @@ [email subject="Hello" body="Sent from phpBB"]user@example.org[/email] [email body="Sent from phpBB" subject="Hello"]user@example.org[/email] [email body="Sent from phpBB" subject="Hello" email="user@example.org"]...[/email] +[email subject="hi&attach=foo"]user@example.org[/email]