mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
small quotation change
This commit is contained in:
parent
1592c84ac0
commit
3a6a5a6925
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue