Patched against latest CVS of DRUPAL-5 branch.

This patch fixes the rather critical error that l10n_client submits strings based on the DOM interpretation of a string rather than the original string itself. This bug is critical when a translatable string contains HTML tags or character entities that will get submitted character encoded.

Encompasses:

http://drupal.org/node/264230

If the patch looks good, I can also make the appropriate changes for the Drupal 6 branch.

CommentFileSizeAuthor
l10n_client_htmlfix.patch.txt5.07 KByhahn

Comments

gábor hojtsy’s picture

Status: Active » Closed (duplicate)

This was solved with escaping the HTML correctly in 5.x-1.2 and 6.x-1.7. That did not solve #264230: "Copy Source" make html tags uppercase in some browsers, but that is a separate issue, so marking this one a duplicate. See http://drupal.org/node/434682