[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 19:20:02 CEST 2007


Hi Masi,

> Ok, but I suggest to use a different tmp. variable then $val. $val ist
> reused all the time and anyone tyring to move the replyto_name code around
> will break things.

I agree with you, but I didn't like to add more variables here. See below
what happens otherwise...

Well, I _did_ try to change it, but came to a much larger change which is
harder to test and harder to understand than the current one-liner is.
The real solution though seems to be a complete rewrite of this method which
I still don't like anyways...

So, since v2 works fine, I suggest to stick with this one and let you care
(if you do) about the second patch.

> Apart from that +1 from reading (also for the nont described second fix:
> >= instead of >).

Oh yes, I forgot to mention that. Actually I was not sure if this is needed
or not (I think it's not) but it seems logical that this was not changed at
the 2nd place by accident.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_6121_post1.diff
Type: text/x-diff
Size: 3462 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071016/68a7d171/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_6121_v2.diff
Type: text/x-diff
Size: 1475 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071016/68a7d171/attachment-0001.diff 


More information about the TYPO3-team-core mailing list