Skip to content

Commit

Permalink
Back off some escaping on things that were verified as safe.
Browse files Browse the repository at this point in the history
backport of
  200bb62
  • Loading branch information
Dustin J. Mitchell committed Oct 1, 2010
1 parent 5379782 commit 246ec1b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions master/buildbot/status/web/templates/console.html
Expand Up @@ -161,7 +161,7 @@ <h1>Console View</h1>
<tr>
{% for s in slaves[c.name] %}
<td class='DevSlaveBox'>
<a href='{{ s.url|e }}' title='{{ s.title|e }}' class='DevSlaveBox {{ s.color|e }}' target="_blank">
<a href='{{ s.url }}' title='{{ s.title }}' class='DevSlaveBox {{ s.color }}' target="_blank">
</a>
</td>
{% endfor %}
Expand All @@ -178,20 +178,20 @@ <h1>Console View</h1>

<tr>
<td class='DevRev {{ alt }}' width="1%">
{{ r.id|shortrev(r.repository)|e }}
{{ r.id|shortrev(r.repository) }}
</td>
<td class='DevName {{ alt }}' width="1%">
{{ r.who|user|e }}
{{ r.who|user }}
</td>

{% for c in categories %}
<td class='DevStatus {{ alt|e }} {{ last|e }}'>
<td class='DevStatus {{ alt }} {{ last }}'>
<table width="100%">
<tr>
{% for b in r.builds[c.name] %}
<td class='DevStatusBox'>
<a href='#' onclick='showBuildBox("{{ b.url|urlencode }}", event); return false;'
title='{{ b.title|e }}' class='DevStatusBox {{ b.color|e }} {{ b.tag|e }}'
title='{{ b.title|e }}' class='DevStatusBox {{ b.color }} {{ b.tag }}'
target="_blank"></a>
</td>
{% endfor %}
Expand All @@ -212,9 +212,9 @@ <h1>Console View</h1>
<td colspan="{{ r.span }}" class='DevDetails {{ alt }}'>
<ul style='margin: 0px; padding: 0 0 0 1.5em;'>
{% for d in r.details %}
<li>{{ d.buildername }}: {{ d.status|e }} - &nbsp;
<li>{{ d.buildername }}: {{ d.status }} - &nbsp;
{%- for l in d.logs -%}
<a href="{{ l.url|e }}">{{ l.name|e }}</a>
<a href="{{ l.url }}">{{ l.name }}</a>
{%- endfor -%}
</li>
{% endfor %}
Expand Down

0 comments on commit 246ec1b

Please sign in to comment.