Skip to content

Commit

Permalink
Render access log template as text instead of HTML (go-gitea#23013) (g…
Browse files Browse the repository at this point in the history
…o-gitea#23025)

Backport go-gitea#23013

Fix go-gitea#22906 (comment)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 8fa62be)
  • Loading branch information
yardenshoham authored and Loïc Dachary committed Feb 23, 2023
1 parent b9d5451 commit 2c3a5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/context/access_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package context
import (
"bytes"
"context"
"html/template"
"net/http"
"text/template"
"time"

"code.gitea.io/gitea/modules/log"
Expand Down

0 comments on commit 2c3a5a8

Please sign in to comment.