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>
  • Loading branch information
yardenshoham and lunny committed Feb 21, 2023
1 parent 7b3ffe5 commit 8fa62be
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 8fa62be

Please sign in to comment.