0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-17 06:53:31 +01:00
gitea/modules/convert
zeripath af96286f22
Stop sanitizing full name in API (#17396)
The API convert.toUser function makes the incorrect assumption that full names could
be rendered as is without being escaped. It therefore runs the names through
markup.Sanitize which leads to a double escape of user full names. This
pr stops this.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-10-22 15:17:35 +08:00
..
convert.go
git_commit_test.go
git_commit.go
issue_comment.go
issue_test.go
issue.go
main_test.go
notification.go
pull_review.go
pull_test.go
pull.go
release.go
repository.go
status.go
user_test.go
user.go
utils_test.go
utils.go