summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/downloads.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/templates/default/downloads.html b/module/web/templates/default/downloads.html
index b9cffa955..9ab5a2ea4 100644
--- a/module/web/templates/default/downloads.html
+++ b/module/web/templates/default/downloads.html
@@ -38,14 +38,14 @@
{{ folder.name }}
<ul>
{% for file in folder.files %}
- <li><a href='{% url download 'get/' %}{{ folder.name }}/{{ file }}'>{{ file }}</a></li>
+ <li><a href='{% url download 'get/' %}{{ folder.path|urlencode }}/{{ file|urlencode }}'>{{file}}</a></li>
{% endfor %}
</ul>
</li>
{% endfor %}
{% for file in files.files %}
- <li> <a href={% url download 'get/' %}{{ file }}>{{ file }}</a></li>
+ <li> <a href={% url download 'get/' %}{{ file|urlencode }}>{{ file }}</a></li>
{% endfor %}
</ul>