Skip to content

Commit 34ae184

Browse files
authored
Render access log template as text instead of HTML (#23013)
Fix #22906 (comment)
1 parent 1b950b9 commit 34ae184

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
@@ -6,8 +6,8 @@ package context
66
import (
77
"bytes"
88
"context"
9-
"html/template"
109
"net/http"
10+
"text/template"
1111
"time"
1212

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

0 commit comments

Comments
 (0)