Skip to content

Commit

Permalink
Remove display of output diff to teams.
Browse files Browse the repository at this point in the history
This was shown when the configuration option to display sample output
was selected.
However, there is a risk that this leaks some information to the teams,
since this information comes from `judgemessage.txt`.

We still display the content from `teammessage.txt`, in case a validator
writes one.
  • Loading branch information
meisterT committed Nov 25, 2023
1 parent b76b47b commit 8b960ed
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions webapp/templates/team/partials/submission.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,6 @@
<p class="nodata">There was no program output.</p>
{% endif %}

<h6 class="mt-3">Diff output</h6>
{% if run.output_diff is not empty %}
<pre class="output_text">
{{ run.output_diff }}</pre>
{% else %}
<p class="nodata">There was no diff output.</p>
{% endif %}

{% if run.team_message is not empty %}
<h6 class="mt-3">Judge message</h6>
<pre class="output_text">
Expand Down

0 comments on commit 8b960ed

Please sign in to comment.