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

RESOLVED FIXED in 2015-07-07

Status

defect
P3
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: ddurst, Unassigned)

Tracking

2015-07-07
x86
macOS
Dependency tree / graph

Details

(Whiteboard: [ktlo])

Reporter

Description

4 years ago
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.
Reporter

Updated

4 years ago
Blocks: 1135257
Reporter

Updated

4 years ago
Whiteboard: [ktlo]
https://github.com/mozilla/zamboni/commit/0145a512628019728085287435dcf291a8abeeba
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2015-07-07

Comment 2

4 years ago
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.