Skip to content

Commit 2c3a5a8

Browse files
yardenshohamLoïc Dachary
authored and
Loïc Dachary
committed
Render access log template as text instead of HTML (go-gitea#23013) (go-gitea#23025)
Backport go-gitea#23013 Fix go-gitea#22906 (comment) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> (cherry picked from commit 8fa62be)
1 parent b9d5451 commit 2c3a5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/context/access_log.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package context
77
import (
88
"bytes"
99
"context"
10-
"html/template"
1110
"net/http"
11+
"text/template"
1212
"time"
1313

1414
"code.gitea.io/gitea/modules/log"

0 commit comments

Comments
 (0)