HTML entity code (&whatever;) in bug descriptions is repeatedly unescaped
Bug #6446 reported by
Matthew Paul Thomas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Steve Alexander |
Bug Description
<foo> &
<foo> &
Copy and paste those two lines into a bug report, and they should be displayed quite differently from each other. Currently they produce an identical result, because strings recognized as entities are being converted to their equivalent characters. This should not happen.
Each time the description is edited, the conversion is performed again. If the original description had &amp;amp;amp;, after being edited once it will have &amp;amp;, after being edited twice it will have &amp;, and so on.
This problem appeared in bug 2021.
This looks like it's http:// www.zope. org/Collectors/ Zope3-dev/ 468, which has been fixed in latest zope3. I'm not sure the fix got backported to the version of zope3 we're going to update to, so we might have to backport the fix ourselves.