[TYPO3-core] RFC: Fix bug with HMTL code and wron umlauts in mailform alert message

Sonja Scholz ss at cabag.ch
Wed Mar 26 09:47:34 CET 2008


This is a SVN patch request.

Branches:
TYPO3_4-1

Problem:
t3lib/jsfunc.validateform.js - removes HTML code and fixes 
umlauts/special chars problem in alert message of typo3 mailform

Description:
If a label in the typo3 mailform has german umlauts / special chars in 
utf8 these characters are displayed wrong in the alert message of the 
validateform javascript.

And if the label consists a HTML code like an <a> tag, it should be 
removed in the alert message.

Solution:
Fixed charset with javascript encoding function. Remove HTML code with 
regexp.

Bug report:
http://bugs.typo3.org/view.php?id=7936

Greets,

Sonja
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_validateFromJS.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080326/f891eb8d/attachment.txt 


More information about the TYPO3-team-core mailing list