v6.8.1
版本发布时间: 2023-08-29 16:39:52
PHPMailer/PHPMailer最新发布版本:v6.9.1(2023-11-26 06:37:56)
This is a minor maintenance release.
Minor security note
The DSN support added in 6.8.0 reflects the DSN back to the user in an error message if it is invalid. If a DSN uses user-supplied input (a very bad idea), it opens a distant possibility of XSS if the host app does not escape output. In an abundance of caution, malformed DSNs are no longer reflected in error messages.
Changes
- Don't reflect malformed DSNs in error messages to avert any risk of XSS
- Improve Simplified Chinese, Sinhalese, and Norwegian translations
- Don't use
setAccessible
in PHP >= 8.1 in tests - Avoid a deprecation notice in PHP 8.3
- Fix link in readme