0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-15 14:27:37 +01:00

Render access log template as text instead of HTML ()

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 ( import (
"bytes" "bytes"
"context" "context"
"html/template"
"net/http" "net/http"
"text/template"
"time" "time"
"code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/log"