Opened 10 years ago

Closed 10 years ago

#1094 closed defect (invalid)

missing html escaping in django admin

Reported by: Armin Ronacher Owned by: adrian
Component: contrib.admin Version: 0.90
Severity: critical Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If you define a CharField in a model and the django admin displays this in the model overview html isn't escaped.

Ergo this works:


Change History (2)

comment:1 Changed 10 years ago by adrian

Hi Armin -- In which context does this happen? On the change-list pages? I know we do escape this in most places...

comment:2 Changed 10 years ago by Armin Ronacher

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

argh. i'm sorry. my fault. escaping works but not as i expected. <hello> world results world.

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