From 3a6a5a6925ffe1223283ecd285a0dc098b91b904 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 16 Apr 2024 02:09:48 +0200 Subject: [PATCH] small quotation change --- snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php b/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php index 551c99cb5..014f5c1b6 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php @@ -369,7 +369,7 @@ abstract class Utils public static function AttributeRfc2231Encode(string $sAttrName, string $sValue, string $sCharset = 'utf-8', string $sLang = '', int $iLen = 1000) : string { - $sValue = \strtoupper($sCharset).'\''.$sLang.'\''. + $sValue = \strtoupper($sCharset)."'{$sLang}'". \preg_replace_callback('/[\x00-\x20*\'%()<>@,;:\\\\"\/[\]?=\x80-\xFF]/', function ($match) { return \rawurlencode($match[0]); }, $sValue);