Bug #23569
closedhtmlArea RTE: Firefox shows & in external links with query string.
0%
Description
Tested with:
Firefox 3.6.9
TYPO3 4.2.14 / TYPO3 4.4.2
If you insert an external link with RTE link editor (e.g. http://example.com/?a=1&b=2 ) the generated a tag attribute is href="http://example.com/?a=1&b=2"
Editing this link again in Firefox the URL isn't converted back:
URL: http://example.com/?a=1&b=2
Updating the link results in the a tag attribute href="http://example.com/?a=1&b=2"
Works in IE7
(issue imported from #M15749)
Files
Updated by Robert Heel about 14 years ago
Sorry, mantis don't show html characters....
Link editor: http://example.com/?a=1&b=2 -> create it: href="http://example.com/?a=1&b=2"
Open link again: http://example.com/?a=1&b=2 -> update it: href="http://example.com/?a=1&b=2"
Updated by Stanislas Rolland about 14 years ago
The attached patch fixes the issue.
The problem arises when the RTE sends the link information as html text rather than as a list of node attributes. This may happen depending on the nature of the selection. In such case, the href attribute needs to be html-decoded.
Updated by Stanislas Rolland about 14 years ago
Committed to SVN TYPO3core trunk (revision 8894), branch TYPO3_4-4 (revision 8895) and branch TYPO3_4-3 (revision 8896).