Skip to content

Commit

Permalink
fix: ignore samgrep error
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Feb 25, 2025
1 parent 997fdba commit 4aa1b67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/aiproxy/common/render/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var (
dataBytes = conv.StringToBytes(data)
)

// #nosemgrep: go.lang.security.audit.xss.no-direct-write-to-responsewriter.no-direct-write-to-responsewriter
func (r OpenAISSE) Render(w http.ResponseWriter) error {
r.WriteContentType(w)

Expand Down

0 comments on commit 4aa1b67

Please sign in to comment.