mirror of
https://github.com/go-gitea/gitea
synced 2025-08-01 15:18:37 +00:00
Allow file and directory names to contain percent character
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<span class="octicon octicon-file-{{if or $entry.IsDir}}directory{{else}}text{{end}}"></span>
|
||||
</td>
|
||||
<td class="name">
|
||||
<a href="{{EscapePound $.BranchLink}}/{{$.TreePath}}{{$entry.Name}}" class="text-truncate">{{$entry.Name}}</a>
|
||||
<a href="{{EscapePound $.BranchLink}}/{{EscapePound $.TreePath}}{{EscapePound $entry.Name}}" class="text-truncate">{{$entry.Name}}</a>
|
||||
</td>
|
||||
{{end}}
|
||||
<td class="sha">
|
||||
@@ -66,4 +66,4 @@
|
||||
</table>
|
||||
{{if .ReadmeExist}}
|
||||
{{template "repo/view_file" .}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user