]> source.dussan.org Git - gitea.git/commit
Convert git commit summary to valid UTF8. (#28356)
authordarrinsmart <darrin@djs.to>
Tue, 5 Dec 2023 06:34:24 +0000 (22:34 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2023 06:34:24 +0000 (14:34 +0800)
commit38a93a0665456d0cfc9569946a1f6164835b6aea
tree6d1646605bd7e1538698b45ecb10b9f5221a31bd
parentdfa77ac0205d53ac6de45e25c13e122592739bd4
Convert git commit summary to valid UTF8. (#28356)

The summary string ends up in the database, and (at least) MySQL &
PostgreSQL require valid UTF8 strings.

Fixes #28178

Co-authored-by: Darrin Smart <darrin@filmlight.ltd.uk>
modules/git/commit.go