Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #9 from noffle/master
Browse files Browse the repository at this point in the history
adds url escaping of entries
  • Loading branch information
noffle committed Mar 3, 2016
2 parents 63f5015 + eda829e commit 27a7bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dir-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div class="ipfs-icon ipfs-_blank">&nbsp;</div>
</td>
<td class="padding">
<a href="{{.BackLink}}">..</a>
<a href="{{.BackLink | urlEscape}}">..</a>
</td>
<td></td>
</tr>
Expand All @@ -48,7 +48,7 @@
<div class="ipfs-icon {{iconFromExt .Name}}">&nbsp;</div>
</td>
<td>
<a href="{{ .Path }}">{{ .Name }}</a>
<a href="{{ .Path | urlEscape }}">{{ .Name }}</a>
</td>
<td>{{ .Size }}</td>
</tr>
Expand Down

0 comments on commit 27a7bf8

Please sign in to comment.