You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/context
Gary Moon 29194a9dd6
Correct the access log format (#24085)
The default access log format has been unnecessarily escaped, leading to
spurious backslashes appearing in log lines.

Additionally, the `RemoteAddr` field includes the port, which breaks
most log parsers attempting to process it. I've added a call to
`net.SplitHostPort()` attempting to isolate the address alone, with a
fallback to the original address if it errs.

Signed-off-by: Gary Moon <gary@garymoon.net>
1 year ago
..
access_log.go Correct the access log format (#24085) 1 year ago
api.go Set `X-Gitea-Debug` header once (#23361) 1 year ago
api_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
api_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
captcha.go Add new captcha: cloudflare turnstile (#22369) 1 year ago
context.go Use a general approach to access custom/static/builtin assets (#24022) 1 year ago
csrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
form.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org.go Add missing tabs to org projects page (#22705) 1 year ago
package.go Improve permission check of packages (#23879) 1 year ago
pagination.go Make branches list page operations remember current page (#23420) 1 year ago
permission.go Implement FSFE REUSE for golang files (#21840) 2 years ago
private.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Ensure RSS icon is present on all repo tabs (#23904) 1 year ago
response.go Implement FSFE REUSE for golang files (#21840) 2 years ago
utils.go Implement FSFE REUSE for golang files (#21840) 2 years ago
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago