Project

General

Profile

Actions

Bug #22667

closed

Login notify mail subject should be correctly encoded

Added by Raphael Heilmann almost 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-05-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hardcoded function sends notify mails with unproperly encoded headers. That leads to a protocol violation, when sitename contains special chars like umlauts.

"INVALID HEADER: INVALID 8-BIT CHARACTERS IN HEADER SECTION"

The attached patch will work at least for TYPO3 versions 4.3.2 until current 4.4 trunk.

The RFC 5322 document specifies rules for forming internet messages.
It does not allow the use of characters with codes above 127 to be
used directly (non-encoded) in a mail header section.

If such characters (e.g. with diacritics) from ISO Latin or other
alphabets need to be included in a header section, these characters
need to be properly encoded according to RFC 2047. Such encoding
is often done transparently by mail reader (MUA), but if automatic
encoding is not available (e.g. by some older MUA) it is a user's
responsibility to avoid using such characters in a header section,
or to encode them manually. Typically the offending header fields
in this category are 'Subject', 'Organization', and comment fields
or display names in e-mail addresses of 'From', 'To' or 'Cc'.
Sometimes such invalid header fields are inserted automatically
by some MUA, MTA, content filter, or other mail handling service.
If this is the case, such service needs to be fixed or properly
configured. Typically the offending header fields in this category
are 'Date', 'Received', 'X-Mailer', 'X-Priority', 'X-Scanned', etc.

(issue imported from #M14406)


Files

typo3-trunk-login-notify-utf8.diff (831 Bytes) typo3-trunk-login-notify-utf8.diff Administrator Admin, 2010-05-17 13:43
Actions #1

Updated by Chris topher almost 14 years ago

Hi Raphael,

thanks for your patch!
To get it included in the upcoming releases, please send it to Core List!
Check out http://typo3.org/teams/core/core-mailinglist-rules/

Actions #2

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF