Opened 8 years ago

Closed 6 years ago

#7697 closed (fixed)

safe strings in debug page shown as html

Reported by: charmless Owned by: Chris Beaven
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

if a local variable is a safe string, then it will display in the debug output as unescaped, rendered HTML.
Expected: Should render as some sort of useful repr() of the string.

Attachments (2)

7697.diff (2.0 KB) - added by Chris Beaven 7 years ago.
7697.2.diff (2.7 KB) - added by Chris Beaven 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Sung-jin Hong

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Chris Beaven

Owner: changed from nobody to Chris Beaven
Status: newassigned

Changed 7 years ago by Chris Beaven

Attachment: 7697.diff added

Changed 6 years ago by Chris Beaven

Attachment: 7697.2.diff added

comment:3 Changed 6 years ago by Chris Beaven

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:4 Changed 6 years ago by Malcolm Tredinnick

Resolution: fixed
Status: assignedclosed

(In [13741]) Display a repr-like result for safe-string local variables on the debug page.

Fixed #7697. Thanks, SmileyChris.

Note: See TracTickets for help on using tickets.
Back to Top