1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 09:34:26 +00:00
gitea/routers
zeripath 9340269d84
Stop double encoding blame commit messages (#17498) (#17500)
Backport #17498

The call to html.EscapeString in routers/web/repo/blame.go:renderBlame is extraneous
as the commit message is now rendered by the template. The template will correctly
escape strings - therefore we are currently double escaping.

This PR fixes this.

Fix #17492

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-10-31 17:46:51 +08:00
..
api/v1 Ensure that restricted users can access repos for which they are members (#17460) (#17464) 2021-10-28 11:33:18 +08:00
common Read expected buffer size (#17409) (#17430) 2021-10-25 17:46:56 +01:00
install Run Migrate in Install rather than just SyncTables (#17475) (#17486) 2021-10-30 10:28:11 +01:00
private Prevent panic in serv.go with Deploy Keys (#17434) (#17435) 2021-10-26 01:24:29 +02:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
web Stop double encoding blame commit messages (#17498) (#17500) 2021-10-31 17:46:51 +08:00
init.go Add LRU mem cache implementation (#16226) 2021-07-10 23:54:15 +02:00