runcommand-log.tt: escape the command

This commit is contained in:
Cole Helbling 2022-01-28 09:39:51 -08:00
parent 71bbb042db
commit 61914d56c6

View file

@ -11,7 +11,7 @@
[% ELSE %] [% ELSE %]
is is
[% END %] [% END %]
the output of a RunCommand execution of the command <tt>[% runcommandlog.command %]</tt> the output of a RunCommand execution of the command <tt>[% HTML.escape(runcommandlog.command) %]</tt>
on <a href="[% c.uri_for('/build', build.id) %]">Build [% build.id %]</a>. on <a href="[% c.uri_for('/build', build.id) %]">Build [% build.id %]</a>.
[% IF tail %] [% IF tail %]
The <a href="[% c.uri_for('/build', build.id, 'runcommandlog', runcommandlog.uuid) %]">full log</a> is also available. The <a href="[% c.uri_for('/build', build.id, 'runcommandlog', runcommandlog.uuid) %]">full log</a> is also available.