[TYPO3-core] RFC: Fix bug #6121: formmail: reply-to can contain invalid characters if formMailCharset different from site charset
Michael Stucki
michael at typo3.org
Tue Oct 16 17:29:01 CEST 2007
This is an SVN patch request.
Type: Bugfix
Problem:
formmail automatically converts character sets in mail headers if you define
config['formMailCharset'] different than your site charset.
In case your form didn't set the reply-to header explicitely, a copy of the
from header is used.
Unfortunately reply-to is set to a copy of the already converted from header
and then again run through the conversion routine, which leads to invalid
characters in the resulting string.
Solution:
Copy $val again instead of using already encoded value $this->name. Simple but
efficient...
Notes:
This patch was written by Wolfgang Zenker.
Bugtracker references:
http://bugs.typo3.org/view.php?id=6121
Branches:
TYPO3_4-1 / Trunk
- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_6121_v2.diff
Type: text/x-diff
Size: 1474 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071016/bd968b66/attachment.diff
More information about the TYPO3-team-core
mailing list