Closed Bug 1142301 Opened 5 years ago Closed 5 years ago

Don't HTML-encode characters in data, encode them (if necessary) when rendering

Categories

(Marketplace Graveyard :: Curation Tools, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2015-07-07

People

(Reporter: ddurst, Unassigned)

References

Details

(Whiteboard: [ktlo])

Currently, in transonic, we store some characters HTML-encoded (like &). This is problematic because we aren't necessarily using that data in a way that accepts them, which means we them have to strip them out (like in <title> vs <h1>).

This would require a redo/undo of fixes in bug 1093420, bug 1131686, and bug 1104330, at least. But it makes for more portable data and is a best practice.
Blocks: 1135257
Whiteboard: [ktlo]
https://github.com/mozilla/zamboni/commit/0145a512628019728085287435dcf291a8abeeba
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2015-07-07
Please add STR here or mark it with [qa-] if no QA is needed.
You need to log in before you can comment on or make changes to this bug.