mirror of
1
Fork 0
forgejo/routers
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
..
api Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
common Support disabling database auto migration (#22053) 2022-12-07 09:58:31 -06:00
install fix: update settings table on install (#22326) 2023-01-03 14:33:41 -06:00
private Implement actions (#21937) 2023-01-31 09:45:19 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix improper HTMLURL usages in Go code (#22839) 2023-02-11 14:34:11 +08:00
init.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00