1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

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"