Project

General

Profile

Actions

Bug #20232

closed

wrong encoded email header (t3lib_div::encodeHeader)

Added by Ivan Dharma Kartolo over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-03-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

the function t3lib_div::quoted_printable encodes all non ASCII character in their hex value correctly. But for email subject there must be no question mark (?) ASCII 63, because question mark is used to separate between charset, encoding and the encoded text [1].

The attached patch search for question mark, and replace with it's hex value.

[1] http://tools.ietf.org/html/rfc1342

send an email (with direct_mail), which having question mark in the subject.
See http://bugs.typo3.org/view.php?id=10678

Patch is made against 4.2.6
(issue imported from #M10769)


Files

patch-encodeHeader.diff (411 Bytes) patch-encodeHeader.diff Administrator Admin, 2009-03-23 23:18
10769-trunk.diff (912 Bytes) 10769-trunk.diff Administrator Admin, 2009-07-19 15:29
10769.diff (912 Bytes) 10769.diff Administrator Admin, 2009-07-19 15:29
10769-v2.diff (935 Bytes) 10769-v2.diff Administrator Admin, 2009-07-20 23:41
0010769_test.patch (1.32 KB) 0010769_test.patch Administrator Admin, 2009-08-02 01:45
0010769_v3.patch (913 Bytes) 0010769_v3.patch Administrator Admin, 2009-08-02 10:07

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21668: Wrong mail encodingClosed2009-11-24

Actions
Actions

Also available in: Atom PDF