#359: pretty_log: escape HTML entities --------------------+------------------------------------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: major | Milestone: Finger Food Component: core | Keywords: --------------------+------------------------------------------------------- Currently we copy all test output into the PrettyLog verbatim. It also applies for summary, ID, highlights and pretty much everything. But if some of that text contains HTML entities, it creates invalid HTML page and breaks the report (different browsers may display it differently). Example: Try populating test summary with word '<undefined>'. The browser will consider it an unknown tag and don't display it at all.
We need to escape all text we take over before putting it into HTML log.
#359: pretty_log: escape HTML entities --------------------+------------------------------------------------------- Reporter: kparal | Owner: pschindl Type: defect | Status: assigned Priority: major | Milestone: Finger Food Component: core | Resolution: Keywords: | --------------------+------------------------------------------------------- Changes (by pschindl):
* owner: => pschindl * status: new => assigned
#359: pretty_log: escape HTML entities --------------------+------------------------------------------------------- Reporter: kparal | Owner: pschindl Type: defect | Status: assigned Priority: major | Milestone: Finger Food Component: core | Resolution: Keywords: | --------------------+------------------------------------------------------- Comment (by pschindl):
Patch is in review board: https://fedorahosted.org/reviewboard/r/174/
#359: pretty_log: escape HTML entities --------------------+------------------------------------------------------- Reporter: kparal | Owner: pschindl Type: defect | Status: closed Priority: major | Milestone: 0.6.0 Component: core | Resolution: fixed Keywords: | --------------------+------------------------------------------------------- Changes (by pschindl):
* status: assigned => closed * resolution: => fixed * milestone: Finger Food => 0.6.0
Comment:
Pushed to master: c364bbc6fd1f0967b935620f293d383890657896
autoqa-devel@lists.fedorahosted.org