[TYPO3-core] FYI: Fixed issue #9196: In htmlArea RTE, unable to create an external URL containing German umlauts

Stanislas Rolland typo3 at sjbr.ca
Mon Aug 25 18:16:16 CEST 2008


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
When trying to create an external link containing German umlauts
(e.g. http://www.städtlifest.ch/) using the RTE link insertion dialogue, 
it will convert the umlauts to double-encoded UTF-8 bytes 
(http://www.städtlifest.ch/). The Link does not work. The problem 
exists only in Mozilla products (FF2, FF3).

Solution:
Appears to be a Mozilla bug in command CreateLink of document method 
execCommand(). The attached patch works around the issue by invoking 
encodeURIComponent on the link's href before invoking execCommand and 
decoding it afterwards.

Note:
Issue and workaround submitted to Mozilla: 
https://bugzilla.mozilla.org/show_bug.cgi?id=451142

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

Branches:
trunk (revision 4017)
TYPO3_4-2 (revision 4018)
TYPO3_4-1 (revision 4019) (Also updated htmlArea RTE version to 1.5.7 
for TYPO3 4.1.8)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_9196_v2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080825/5f61f7e2/attachment.txt 


More information about the TYPO3-team-core mailing list