We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
preg_replace_callback()
1 parent 2353af7 commit 1db0dadCopy full SHA for 1db0dad
externals/phpmailer/class.phpmailer-lite.php
@@ -1512,15 +1512,15 @@ public function EncodeQ ($str, $position = 'text') {
1512
$encoded);
1513
break;
1514
case 'comment':
1515
- $encoded = preg_replace(
+ $encoded = preg_replace_callback(
1516
"/([\(\)\"])/",
1517
array($this, 'encodeQCallback'),
1518
1519
1520
case 'text':
1521
default:
1522
// Replace every high ascii, control =, ? and _ characters
1523
1524
'/([\000-\011\013\014\016-\037\075\077\137\177-\377])/',
1525
1526
0 commit comments