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 64942d4
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 @@ -33,6 +33,7 @@ func (r OpenAISSE) Render(w http.ResponseWriter) error {
conv.StringToBytes(r.Data),
nnBytes,
} {
// nosemgrep: go.lang.security.audit.xss.no-direct-write-to-responsewriter.no-direct-write-to-responsewriter
if _, err := w.Write(bytes); err != nil {
return err
}
Expand Down

0 comments on commit 64942d4

Please sign in to comment.