1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 07:18:08 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2022-07-16 18:39:49 -04:00

View File

@@ -1880,7 +1880,7 @@ function mail_encode($str, $eol = "\r\n")
{ {
$encoded_char = $is_quoted_printable $encoded_char = $is_quoted_printable
? $char = preg_replace_callback( ? $char = preg_replace_callback(
'/[=_\?\x20\x00-\x1F\x80-\xFF]/', '/[()<>@,;:\\\\".\[\]=_?\x20\x00-\x1F\x80-\xFF]/',
function ($matches) function ($matches)
{ {
$hex = dechex(ord($matches[0])); $hex = dechex(ord($matches[0]));