Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Nov 7, 2023
1 parent b4cf183 commit f75dec8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/server/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ func writeResponseFromDynamicRequest(w http.ResponseWriter, req *http.Request) {
}

if b64Body := values.Get("b64_body"); b64Body != "" {
fmt.Println(b64Body)
if body, err := base64.StdEncoding.DecodeString(b64Body); err == nil {
_, _ = w.Write(body)

Check warning

Code scanning / CodeQL

Reflected cross-site scripting Medium

Cross-site scripting vulnerability due to
user-provided value
.
}
Expand Down

0 comments on commit f75dec8

Please sign in to comment.