Try to take only quoted_printable to decode and avoid decoding url params as quoted

This commit is contained in:
Hadi Nategh 2021-06-30 16:18:45 +02:00
parent b6fc08c010
commit 83e782330d

View File

@ -6608,7 +6608,7 @@ class Mail
static function detect_qp($string)
{
return preg_match('/(=[0-9][A-F])|(=[A-F][0-9])|(=[A-F][A-F])|(=[0-9][0-9])/', $string);
return preg_match('/(=[0-9][A-F])|(=[A-F][0-9])|(=[A-F][A-F])|(=[0-9][0-9])[\s|=]/', $string);
}
/**