snapframework/xmlhtml — Issue #4: HTML entities
Author: kevinjardine
Created: 2011-12-11 15:40:41+00:00
State: open

parseHtml is mishandling HTML entities in urls. In particular, if a URL contains the string "¢reLon=158" then parseHTML misinterprets the string "¢" as the HTML entity "¢" and replaces it with the Unicode value for ¢

If you are allowing ampersands in urls because you are not in strict XML mode, then I believe xmlhtml needs to search for a valid terminating semicolon before converting HTML entities. Or ideally it should not convert the entities at all.