From c78a8d852260d7f7ad456b9e31a07795beb66f87 Mon Sep 17 00:00:00 2001 From: Ben XO <75862+ben-xo@users.noreply.github.com> Date: Thu, 18 Mar 2021 20:54:19 +0000 Subject: [PATCH] Add extra test for invalid UTF-8 characters --- test/PodcastTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/PodcastTest.php b/test/PodcastTest.php index 7ea5088..77112ad 100644 --- a/test/PodcastTest.php +++ b/test/PodcastTest.php @@ -107,7 +107,7 @@ public function test_html_entities_are_rss_compatible() { $mp = $this->newPodcast(); - $mp->setTitle('<<<'); + $mp->setTitle("<\x06<\x07<\x08"); $mp->setDescription('⛄️'); $mp->setWebMaster('>>>'); $mp->setGenerator('&');