Closed Bug 682324 Opened 13 years ago Closed 13 years ago

Sisyphus - webapp - markup characters need to be escaped in output

Categories

(Testing Graveyard :: Sisyphus, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Unassigned)

References

Details

Attachments

(1 file)

In the #crashes view and possibly others, some output will contain what appear to be tags. For example, the signature:

nsCOMPtr<nsINodeInfo>::get() | nsINode::GetOwnerDoc() nsINode::GetCurrentDoc() nsGenericElement::UnbindFromTree(int, int) nsXMLElement::UnbindFromTree(int, int) nsGenericElement::UnbindFromTree(int, int)

This is currently displayed in the crashes by date view as:

nsCOMPtr::operator->() | nsIContent::IsInNamespace(int) nsIContent::IsXUL() nsXULElement::FromContent(nsIContent*) nsGenericElement::UnbindFromTree(int, int) nsXMLElement::UnbindFromTree(int, int)

When displaying content from the database, markup sensitive characters such as    < > " ' \ & should be replaced by their entity equivalents.
Escape data taken from database. Improve log formatting.
Attachment #556133 - Flags: review?(bclary)
Attachment #556133 - Flags: feedback?(jeads)
Comment on attachment 556133 [details] [diff] [review]
Escape data taken from database. Improve log formatting.

r+ but I would like to change the layout for the logs so that the log date is a fixed width instead of a percentage and the log machine to prevent the machine name from bleeding into the message column for long machine names such as valgrind1.sandbox.sjc1.mozilla.com.
Attachment #556133 - Flags: review?(bclary) → review+
https://hg.mozilla.org/automation/sisyphus/rev/138437198029
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment #556133 - Flags: feedback?(jeads) → feedback+
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: