1
0
Fork 0
forked from matteo/serves3

fix listing of S3 prefixes not terminated by a slash

This commit is contained in:
Eren Ay 2024-04-17 16:06:26 +02:00
parent 25576463cf
commit 0318729d3f
4 changed files with 89 additions and 3 deletions

View file

@ -44,7 +44,7 @@
{% for object in objects %}
<tr>
<td><a href="{{ object.path | urlencode }}" data-size-bytes="{{ object.size_bytes }}">{{ object.path }}</a></td>
<td><a href="/{{ object.parent | urlencode }}{{ object.path | urlencode }}" data-size-bytes="{{ object.size_bytes }}">{{ object.path }}</a></td>
<td>{{ object.size }}</td>
<td>{{ object.last_modification}}</td>
</tr>