Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix more XSS issues
  • Loading branch information
Andy Beverley committed Feb 8, 2021
1 parent 698c5fa commit e1646d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion views/contractor.tt
Expand Up @@ -47,7 +47,7 @@
[% FOR contractor IN contractors %]
<tr>
<td class="col-sm-1"><a href="/contractor/[% contractor.id %]">[% contractor.id %]</a></td>
<td class="col-sm-10">[% contractor.name %]</td>
<td class="col-sm-10">[% contractor.name | html %]</td>
</tr>
[% END %]
</table>
Expand Down
4 changes: 2 additions & 2 deletions views/index.tt
Expand Up @@ -15,9 +15,9 @@

[% FOR task IN tasks %]
<tr>
<td>[% task.name %]
<td>[% task.name | html %]
</td>
<td>[% task.site.org.name %] ([% task.site.name %])</td>
<td>[% task.site.org.name | html %] ([% task.site.name | html %])</td>
<td>
[% IF task.last_completed %]
<a href="/ticket/[% task.last_completed_id %]">[% task.last_completed.strftime(dateformat) %]</a>
Expand Down

0 comments on commit e1646d5

Please sign in to comment.