[BUGFIX] Use Address::create instead of new
The usage of Address::create instead of a plain new ensures compatibility with all Symfony releases. Since Symfony 5.2.6 the behavior was changed to always return email addresses properly quoted but this change broke our Mailer. Resolves: #93843 Related: #93831 Releases: master, 10.4 Change-Id: Ia8d35c220be0ba46cf75dec51585158760fad26d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68888 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- composer.json 2 additions, 2 deletionscomposer.json
- composer.lock 1 addition, 1 deletioncomposer.lock
- typo3/sysext/core/Classes/Mail/MailMessage.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Mail/MailMessage.php
- typo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php 82 additions, 15 deletionstypo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php
- typo3/sysext/core/composer.json 2 additions, 2 deletionstypo3/sysext/core/composer.json
Please register or sign in to comment