Escape field values in datagrid cells.

Review Request #4331 — Created July 15, 2013 and submitted

Information

Djblets
master

Reviewers

Escape field values in datagrid cells.

Datagrid cells would pull data from a model and render it as-is. This
could lead to issues when using certain characters. We now escape
everything coming from the database.

If a custom renderer is provided, it's still expected that it returns
valid, safe HTML.
Added some HTML to a field and viewed it. Saw that the HTML was
shown escaped.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        djblets/datagrid/grids.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        djblets/datagrid/grids.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.6.x (84d3f00) and master (26d36f6)