Merge pull request #210 from Fraenkiman/upstream/issue209
for non-ASCII characters in the e-mail header
This commit is contained in:
commit
40b8f414b5
@ -222,7 +222,8 @@ function commentform() {
|
||||
$fp_config ['general'] ['title']
|
||||
), $lang ['comments'] ['mail']);
|
||||
|
||||
@utils_mail($from_mail, "{$lang ['comments'] ['newcomment']} {$lang ['comments'] ['newcomment']} {$fp_config['general']['title']}", $mail);
|
||||
// for non-ASCII characters in the e-mail header use RFC 1342 — Encodes data with MIME base64 and splits the encrypted subject
|
||||
@utils_mail($from_mail, '=?utf-8?B?' . base64_encode($lang ['comments'] ['newcomment']) . '=?= =?utf-8?B?' . base64_encode($fp_config ['general'] ['title']) . '==?=', $mail);
|
||||
}
|
||||
|
||||
// if comment is valid, this redirect will clean the postdata
|
||||
|
@ -11,6 +11,6 @@ S pozdravem %blogtitle%
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'Nový komentář k';
|
||||
$lang ['comments'] ['newcomment'] = 'Nový komentář k ';
|
||||
|
||||
?>
|
||||
|
@ -16,6 +16,6 @@ Automatisch generiert von,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'Neuer Kommentar auf';
|
||||
$lang ['comments'] ['newcomment'] = 'Neuer Kommentar auf ';
|
||||
|
||||
?>
|
||||
|
@ -16,6 +16,6 @@ $lang ['comments'] ['mail'] = 'Αγαπητέ/η %toname%,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'νέο σχόλιο στο';
|
||||
$lang ['comments'] ['newcomment'] = 'νέο σχόλιο στο ';
|
||||
|
||||
?>
|
||||
|
@ -16,6 +16,6 @@ All the best,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'New comment on';
|
||||
$lang ['comments'] ['newcomment'] = 'New comment on ';
|
||||
|
||||
?>
|
||||
|
@ -16,6 +16,6 @@ Todo lo mejor,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'Nuevo comentario sobre';
|
||||
$lang ['comments'] ['newcomment'] = 'Nuevo comentario sobre ';
|
||||
|
||||
?>
|
||||
|
@ -16,6 +16,6 @@ Cordialement,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'Nouveau commentaire sur';
|
||||
$lang ['comments'] ['newcomment'] = 'Nouveau commentaire sur ';
|
||||
|
||||
?>
|
||||
|
@ -16,6 +16,6 @@ Saluti,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'Nuovo commento su';
|
||||
$lang ['comments'] ['newcomment'] = 'Nuovo commento su ';
|
||||
|
||||
?>
|
||||
|
@ -19,6 +19,6 @@ $lang ['comments'] ['mail'] = '%toname% さま,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'の新しいコメント';
|
||||
$lang ['comments'] ['newcomment'] = 'の新しいコメント ';
|
||||
|
||||
?>
|
||||
|
@ -16,6 +16,6 @@ Groeten,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'Nieuw commentaar op';
|
||||
$lang ['comments'] ['newcomment'] = 'Nieuw commentaar op ';
|
||||
|
||||
?>
|
||||
|
@ -17,6 +17,6 @@ Um abraço,
|
||||
|
||||
';
|
||||
|
||||
$lang ['comments'] ['newcomment'] = 'Novo comentário em';
|
||||
$lang ['comments'] ['newcomment'] = 'Novo comentário em ';
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user