forgejo/modules/context
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
..
access_log.go
api.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
api_org.go
api_test.go
auth.go
captcha.go Add new captcha: cloudflare turnstile (#22369) 2023-02-05 15:29:03 +08:00
context.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
csrf.go
form.go
org.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
package.go
pagination.go
permission.go
private.go
repo.go Fix improper HTMLURL usages in Go code (#22839) 2023-02-11 14:34:11 +08:00
response.go
utils.go
xsrf.go
xsrf_test.go