Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2c3a5a8

Browse files
yardenshohamlunny
authored andcommittedFeb 23, 2023
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 <[email protected]> (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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.