Skip to content

Commit

Permalink
Fix issue on directory listing
Browse files Browse the repository at this point in the history
  • Loading branch information
nodauf committed Mar 25, 2021
1 parent 6f012b9 commit d37c114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/directoryListing.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
<td class="t">Directory</td>
<td class="dl"></td>
</tr>
{{range .Children_dir}}
{{range .ChildrenDir}}
<tr>
<td class="n directory"><a href="{{.}}/">{{.}}/</a></td>
<td class="t">Directory</td>
<td class="dl directory"><a href="{{.}}?dl">Download</a> | <a href="{{.}}?dlenc">encrypted zip (pwd: infected)</a></td>
</tr>
{{end}}
{{range .Children_files}}
{{range .ChildrenFiles}}
<tr class="file">
{{ if $.Embedded }}
<td class="n"><a href="{{.}}?embedded">{{.}}</a></td>
Expand Down

0 comments on commit d37c114

Please sign in to comment.