Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed HTML escaping stupidity

  • Loading branch information...
commit aaaaecff87855655fb5bb817e306b35141e6ca8c 1 parent a461fc7
@ctb authored
View
2  client/build-example
@@ -20,7 +20,7 @@ if not options.force_build:
sys.exit(0)
commands = [ BuildCommand(['/bin/echo', 'hello, world'], name='David'),
- TestCommand(['/bin/echo', 'this is a test'], name='Bill')
+ TestCommand(['/bin/echo', 'this is a test <> &'], name='Bill')
]
context = TempDirectoryContext()
View
4 pony_build/web/templates/results_index.html
@@ -67,13 +67,13 @@
<b>command line:</b>{{ r['command'] }}<br>
{% if r.has_key('output') and r['output'].strip() %}
- <b>stdout:</b><tt><div class='resultpre'>{{ r['output'] }}</div></tt><br>
+ <b>stdout:</b><tt><div class='resultpre'>{{ r['output']|e }}</div></tt><br>
{% else %}
<i>no stdout</i><br>
{% endif %}
{% if r['errout'].strip() %}
- <b>stderr:</b><tt><div class='resultpre'>{{ r['errout'] }}</div></tt><br>
+ <b>stderr:</b><tt><div class='resultpre'>{{ r['errout']|e }}</div></tt><br>
{% else %}
<i>no stderr</i><br>
{% endif %}
View
2  pony_build/web/templates/results_inspect.html
@@ -33,7 +33,7 @@
<li>Result {{ loop.index }}:<br>
<div class='resultpre'>
{% for k, v in result_d.items() -%}
- {{ k }}: {{ v }}
+ {{ k|e }}: {{ v|e }}
{% endfor -%}
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.