From 9a628f8153e3a9e26465fd6362ed991d08ed79ba Mon Sep 17 00:00:00 2001 From: Fraenkiman Date: Sun, 26 Feb 2023 04:43:16 +0100 Subject: [PATCH] Update contact.php splits the encrypted subject --- contact.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contact.php b/contact.php index af365d4..1729015 100755 --- a/contact.php +++ b/contact.php @@ -111,8 +111,8 @@ function contact_form() { $msg .= "{$lang['contact']['notification']['content']} \n{$validationResult['content']}\n"; // send notification mail to site admin - // for non-ASCII characters in the e-mail header, use RFC 1342 — Encodes data with MIME base64 - $success = @utils_mail((isset($validationResult ['email']) ? $validationResult ['email'] : $fp_config ['general'] ['email']), "=?utf-8?B?" . base64_encode($lang ['contact'] ['notification'] ['subject']) . "?= =?utf-8?B?" . base64_encode($fp_config ['general'] ['title']) . "?=", $msg); + // for non-ASCII characters in the e-mail header use RFC 1342 — Encodes data with MIME base64 and splits the encrypted subject + $success = @utils_mail((isset($validationResult ['email']) ? $validationResult ['email'] : $fp_config ['general'] ['email']), "=?utf-8?B?" . base64_encode($lang ['contact'] ['notification'] ['subject']) . "=?= =?utf-8?B?" . base64_encode($fp_config ['general'] ['title']) . "==?=", $msg); system_seterr('contact', $success ? 1 : -1); utils_redirect(basename(__FILE__)); }