Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#615 closed defect (fixed)

[patch] Replace strip_tags with escape in d.v.a.main

Reported by: sune.kirkeby@… Owned by: adrian
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


It's not enough to strip_tags the object repr's in the admin views. They should be HTML-escaped instead. Otherwise the generated HTML is not valid, and breaks when served as XHTML.

Attachments (1)

admin.patch (5.0 KB) - added by sune.kirkeby@… 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by sune.kirkeby@…

comment:1 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [1982]) Fixed #615 -- Admin views now use escape() instead of strip_tags(). Thanks, Sune Kirkeby

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