Render access log template as text instead of HTML (#23013)

Fix https://github.com/go-gitea/gitea/pull/22906#discussion_r1112106675
This commit is contained in:
Lunny Xiao 2023-02-21 10:22:13 +08:00 committed by GitHub
parent 1b950b98cf
commit 34ae184622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,8 @@ package context
import (
"bytes"
"context"
"html/template"
"net/http"
"text/template"
"time"
"code.gitea.io/gitea/modules/log"