diff options
author | Yarden Shoham <hrsi88@gmail.com> | 2023-02-21 12:04:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 18:04:57 +0800 |
commit | 8fa62be9059ddbce53e8eb81884d888ec7b741ec (patch) | |
tree | bc9c799f3c939758aa51758a5eebdf06fce30d43 | |
parent | 7b3ffe5745152513468adbeaae1102a27c30b67b (diff) | |
download | gitea-8fa62be9059ddbce53e8eb81884d888ec7b741ec.tar.gz gitea-8fa62be9059ddbce53e8eb81884d888ec7b741ec.zip |
Render access log template as text instead of HTML (#23013) (#23025)
Backport #23013
Fix https://github.com/go-gitea/gitea/pull/22906#discussion_r1112106675
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-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 1a10c4763a..0560131a38 100644 --- a/modules/context/access_log.go +++ b/modules/context/access_log.go @@ -7,8 +7,8 @@ package context import ( "bytes" "context" - "html/template" "net/http" + "text/template" "time" "code.gitea.io/gitea/modules/log" |