PHPMailer/test
Juliette 3a30a0b963
PHPMailer::createHeader: minor tweak to messageID validation (#2391)
Minor improvement to the *massive* improvement from 853afcb858.

The `$` in a regex means "match the end of a string or new line right before the end". Using the `D` modifier prevents the matching on the new line.

Ref:
* https://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
* http://web.archive.org/web/20131226183006/http://blog.php-security.org/archives/76-Holes-in-most-preg_match-filters.html

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-06-28 10:05:36 +02:00
..
Language PHPMailerLangTest: rename and minor tweaks (#2377) 2021-06-23 23:04:15 +02:00
OAuth Tests: move OAuth test to own file (#2383) 2021-06-24 19:19:36 +02:00
PHPMailer PHPMailer::createHeader: minor tweak to messageID validation (#2391) 2021-06-28 10:05:36 +02:00
POP3 Tests: move POP before SMTP tests to separate file (#2382) 2021-06-24 15:22:24 +02:00
DebugLogTestListener.php Make the tests PHPUnit cross version compatible + test on PHP 8 (#2202) 2020-11-25 15:35:50 +01:00
TestCase.php Tests: move POP before SMTP tests to separate file (#2382) 2021-06-24 15:22:24 +02:00
fakefunctions.php Decode encoded names in the address parser, see #2266 2021-02-18 11:46:07 +01:00
fakepopserver.sh Update copyright year 2020-09-02 08:41:14 +02:00
fakesendmail.sh Minor fixes, code style 2016-08-31 10:26:06 +02:00
runfakepopserver.sh See what's happening in the shell 2015-11-24 19:04:12 +01:00
testbootstrap-dist.php Big cleanup for Symfony coding style and php-cs-fixer, see #1148 2017-09-07 18:21:09 +02:00
validators.php Add tests for injected validators 2021-06-15 14:54:40 +02:00