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/view_ip.html | |
| parent | 3571670b98b2e6293e429f3e629510ab9f38e70a (diff) | |
what if IP address contained bad characters? (highly local)
Diffstat (limited to 'templates/mod/view_ip.html')
| -rw-r--r-- | templates/mod/view_ip.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index 1c1c7fa6..4bacc7f6 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -45,7 +45,7 @@ </td> {% if mod|hasPermission(config.mod.remove_notes) %} <td class="minimal"> - <a href="?/IP/{{ ip }}/remove_note/{{ note.id }}"> + <a href="?/IP/{{ ip|url_encode(true) }}/remove_note/{{ note.id }}"> <small>[{% trans 'remove' %}]</small> </a> </td> |
