diff options
| author | czaks <marcin@6irc.net> | 2016-05-06 16:53:28 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-06 16:53:28 +0200 |
| commit | 3f405b3484ae6b621ca1fdacbf20e1ef9f3b553a (patch) | |
| tree | 45fe6cf52289c0d96734ce4791227ca47bdd6855 /templates/mod/ban_form.html | |
| parent | 3571670b98b2e6293e429f3e629510ab9f38e70a (diff) | |
what if IP address contained bad characters? (highly local)
Diffstat (limited to 'templates/mod/ban_form.html')
| -rw-r--r-- | templates/mod/ban_form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/ban_form.html b/templates/mod/ban_form.html index 6c7560ad..98cc34b2 100644 --- a/templates/mod/ban_form.html +++ b/templates/mod/ban_form.html @@ -21,7 +21,7 @@ </th> <td> {% if not hide_ip %} - <input type="text" name="ip" id="ip" size="30" maxlength="40" value="{{ ip }}"> + <input type="text" name="ip" id="ip" size="30" maxlength="40" value="{{ ip|e }}"> {% else %} <em>{% trans 'hidden' %}</em> {% endif %} |
