diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2013-01-26 00:00:39 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2013-01-26 00:00:39 +1100 |
| commit | db1b50cfc3a7f3b45891b0ff69db4892b0e6929e (patch) | |
| tree | c4d66e0a831b9a6a57041dd10eb357035f90c06b /templates/mod | |
| parent | cadf2768913bcd1941dfdc96f4a5565e02d6386d (diff) | |
Escape result in ?/debug/sql
Diffstat (limited to 'templates/mod')
| -rw-r--r-- | templates/mod/debug/sql.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/mod/debug/sql.html b/templates/mod/debug/sql.html index 63ba22f8..755995f9 100644 --- a/templates/mod/debug/sql.html +++ b/templates/mod/debug/sql.html @@ -10,17 +10,17 @@ <table class="modlog"> <tr> {% for key in keys %} - <th>{{ key }}</th> + <th>{{ key | e }}</th> {% endfor %} </tr> {% for row in result %} <tr> {% for col in row %} - <td>{{ col }}</td> + <td>{{ col | e }}</td> {% endfor %} </tr> {% endfor %} </table> {% elseif error %} - <p style="text-align:center;color:#d00">{{ error }}</p> + <p style="text-align:center;color:#d00">{{ error | e }}</p> {% endif %} |
