forked from leftypol/leftypol
fileboard: fix possible XSS (mainly applicable to 8chan)
This commit is contained in:
parent
b5370fd3e5
commit
271dcb7a65
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue