1
0
Fork 0
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 Update gitea-vet to check FSFE REUSE (#22004) 2022-12-02 22:14:57 +08:00
form.go
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
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 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