fix: Invalid UTF-8 commit messages in JSON API responses (#37542)

This commit is contained in:
Nicolas
2026-05-07 16:19:45 +02:00
committed by GitHub
parent 2200ed7499
commit c9b9e376fb
54 changed files with 221 additions and 215 deletions
+3 -3
View File
@@ -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>