1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-30 19:08:37 +00:00
Files
gitea/routers/web/repo/issue_lock.go
wxiaoguang e9288c2477 Fix improper HTMLURL usages in Go code (#22839)
In Go code, HTMLURL should be only used for external systems, like
API/webhook/mail/notification, etc.

If a URL is used by `Redirect` or rendered in a template, it should be a
relative URL (aka `Link()` in Gitea)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-11 14:34:11 +08:00

1.5 KiB