diff options
author | Lunny Xiao | 2023-02-21 10:22:13 +0800 |
---|---|---|
committer | GitHub | 2023-02-21 10:22:13 +0800 |
commit | 34ae184622ba1eee62d73f13db709bc6b646795f (patch) | |
tree | ac507e284a0d8ee9d228f62a7a7d1b8ba38ad094 /modules | |
parent | 1b950b98cf98c5064bafbd57cd6cde1fa029881b (diff) |
Render access log template as text instead of HTML (#23013)
Fix https://github.com/go-gitea/gitea/pull/22906#discussion_r1112106675
Diffstat (limited to 'modules')
-rw-r--r-- | modules/context/access_log.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/access_log.go b/modules/context/access_log.go index 84663ee8d..1aaba9dc2 100644 --- a/modules/context/access_log.go +++ b/modules/context/access_log.go @@ -6,8 +6,8 @@ package context import ( "bytes" "context" - "html/template" "net/http" + "text/template" "time" "code.gitea.io/gitea/modules/log" |