gitea/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 Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
api.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
api_org.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
api_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
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 Update gitea-vet to check FSFE REUSE (#22004) 2022-12-02 22:14:57 +08:00
form.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
package.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
pagination.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
permission.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
private.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo.go Fix improper HTMLURL usages in Go code (#22839) 2023-02-11 14:34:11 +08:00
response.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
utils.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2022-12-02 22:14:57 +08:00
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2022-12-02 22:14:57 +08:00