mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-16 01:43:24 +09:00
fix: Invalid UTF-8 commit messages in JSON API responses (#37542)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</h4>
|
||||
<table id="lfs-files-find-table" class="ui attached segment single line table">
|
||||
<tbody>
|
||||
{{range .Results}}
|
||||
{{range $lfsItem := .Results}}
|
||||
<tr>
|
||||
<td>
|
||||
{{svg "octicon-file"}}
|
||||
@@ -14,8 +14,8 @@
|
||||
</td>
|
||||
<td class="message">
|
||||
<span class="truncate">
|
||||
<a href="{{$.RepoLink}}/commit/{{.SHA}}" title="{{.Summary}}">
|
||||
{{.Summary | ctx.RenderUtils.RenderEmoji}}
|
||||
<a href="{{$.RepoLink}}/commit/{{.SHA}}" title="{{$lfsItem.Summary}}">
|
||||
{{$lfsItem.Summary | ctx.RenderUtils.RenderEmoji}}
|
||||
</a>
|
||||
</span>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user