aboutsummaryrefslogtreecommitdiff
path: root/interface/admin_files.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'interface/admin_files.tmpl')
-rw-r--r--interface/admin_files.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/admin_files.tmpl b/interface/admin_files.tmpl
index b0828b6..76e97aa 100644
--- a/interface/admin_files.tmpl
+++ b/interface/admin_files.tmpl
@@ -27,9 +27,9 @@
<div id="dirlisting">
{% for file in listing %}
<div class="entry">
- <a class="entry" href="/admin/{{ directory }}/file/{{ file.name }}">{{ file.name }}</a>
+ <a class="entry" href="/admin/{{ directory }}/file/{{ file.name | urlencode }}">{{ file.name }}</a>
<div class="info">{{ (file.size / 1024 / 1024) | round(2, "ceil") }} MB</div>
- <a class="button delete" href="/admin/{{ directory }}/delete/{{ file.name }}">Delete</a>
+ <a class="button delete" href="/admin/{{ directory }}/delete/{{ file.name | urlencode }}">Delete</a>
</div>
{% endfor %}
</div>