Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix XSS issues in tasks
  • Loading branch information
Andy Beverley committed Feb 8, 2021
1 parent 802755e commit 698c5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/task.tt
Expand Up @@ -217,7 +217,7 @@
[% END %]

[% IF site.id %]
<h3>Site Manager Checks ([% site.org.name %] - [% site.name %])
<h3>Site Manager Checks ([% site.org.name | html %] - [% site.name | html %])
<small>
<a data-toggle="modal" data-target="#modal_download" href="">Download</a>
</small>
Expand All @@ -235,7 +235,7 @@

[% FOR check IN site_checks %]
<tr>
<td><a href="/check_edit/[% check.id %]">[% check.name %]</a></td>
<td><a href="/check_edit/[% check.id %]">[% check.name | html %]</a></td>
<td>[% check.period_qty %] [% check.period_unit %][% IF check.period_qty > 1 %]s[% END %]</td>
[% IF site.id %]
<td>[% check.last_completed.strftime(dateformat) %]</td>
Expand Down

0 comments on commit 698c5fa

Please sign in to comment.