1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-02 20:38:26 +00:00
Files
gitea/modules/convert/user.go
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

2.8 KiB