[TYPO3-dev] RFC #10769: Bug: wrong encoded email header (t3lib_div::encodeHeader)

Ivan Kartolo ivan.kartolo at dkd.de
Sun Jul 19 15:30:49 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=10769

Branches:
TYPO3 4.2

Problem:
if the string, which is passed to this function, has a question mark, it
will not be properly encoded. Since the the question mark is used as a
separator for charset and text encoding, the additional question mark in
the string will break the encoded header.

Solution:
Replacing question mark with its hex value does the trick.

Notes:
Patch can be found in bugtracker.

Thanks,


-- 
Ivan Kartolo
Certified TYPO3 Integrator

Want to support the development of Direct Mail?
- Report some bugs (http://bugs.typo3.org)
- Send me patch
- Send me some donation per PayPal to ivan.kartolo(at)gmail(dot)com




More information about the TYPO3-dev mailing list