summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-04-23 03:45:08 +0200
committerczaks <marcin@6irc.net>2015-04-23 03:45:08 +0200
commit271dcb7a6501ae402344ea6685c7313f49e645d5 (patch)
tree519fb43d65da82fa7cc077bfc32680189a87512d /templates/post_form.html
parentb5370fd3e57d99f35fd68f9db2ac4feb43963626 (diff)
fileboard: fix possible XSS (mainly applicable to 8chan)
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index ea3ac765..0e0d3fed 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -98,7 +98,7 @@
<td>
<select name="tag">
{% for id, tag in config.allowed_tags %}
- <option value="{{ id }}">{{ tag }}</option>
+ <option value="{{ id|e }}">{{ tag|e }}</option>
{% endfor %}
</select>
</td>