Ampersands in attributes not handled properly by Neko HTML parser code
----------------------------------------------------------------------
Key: SHINDIG-915
URL: https://issues.apache.org/jira/browse/SHINDIG-915
Project: Shindig
Issue Type: Bug
Reporter: Adam Winer
Priority: Trivial
Content like:
<span title="&lt;">content</span>
gets serialized out to:
<span title="<">content</span>
... so instead of showing "<" as a tooltip, you'd just get "<". I don't see
any security implications on modern browsers, so priority is very low.
The fix is to change NekoSimplifiedHtmlParser and NekoSerializer to escape & in
attributes to &. The existing code only escapes " to ".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.