Skip to content

Commit 8fa62be

Browse files
yardenshohamlunny
andauthored
Render access log template as text instead of HTML (#23013) (#23025)
Backport #23013 Fix #22906 (comment) Co-authored-by: Lunny Xiao <[email protected]>
1 parent 7b3ffe5 commit 8fa62be

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)