From b67dc888fe20f4d1b9f87250ade10dcc0e29a94b Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 2 Dec 2019 15:46:11 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02558=20Test=20for=20the=20HTMLDOMSanitiz?= =?UTF-8?q?er=20white=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/inspectionProfiles/Combodo.xml | 122 +++++++++ test/core/HTMLDOMSanitizerTest.php | 231 ++++++++++++------ test/core/sanitizer/README.txt | 1 + .../utf-8_wrong_character_email_truncated.txt | 56 +++++ test/core/sanitizer/input/whitelist_test.html | 14 ++ .../utf-8_wrong_character_email_truncated.txt | 12 + 6 files changed, 361 insertions(+), 75 deletions(-) create mode 100644 test/core/sanitizer/README.txt create mode 100644 test/core/sanitizer/input/utf-8_wrong_character_email_truncated.txt create mode 100644 test/core/sanitizer/input/whitelist_test.html create mode 100644 test/core/sanitizer/output/utf-8_wrong_character_email_truncated.txt diff --git a/.idea/inspectionProfiles/Combodo.xml b/.idea/inspectionProfiles/Combodo.xml index 9cece1eb0..0c552965b 100644 --- a/.idea/inspectionProfiles/Combodo.xml +++ b/.idea/inspectionProfiles/Combodo.xml @@ -1,6 +1,73 @@