Skip to content

Commit d91e49a

Browse files
committed
AC-10269: Gift registry frontend enhancements
* Code refinements
1 parent 884e55e commit d91e49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Mail/EmailMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ private function sanitiseEmail(?string $email): ?string
279279
if (!empty($email) && str_contains($email, '=?')) {
280280
$decodedValue = trim(iconv_mime_decode($email, ICONV_MIME_DECODE_CONTINUE_ON_ERROR, 'UTF-8'));
281281
if ($this->isEncoded(trim($email), $decodedValue)) {
282-
$email = strtolower($decodedValue);
282+
$email = strtolower(str_replace('=22', '', $email));
283283
}
284284
}
285285

0 commit comments

Comments
 (0)