Skip to content

Commit

Permalink
close vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahalsmiller committed Jun 17, 2024
1 parent 7a19d2e commit c8cb334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/kvs_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func conflictingFlags(resp http.ResponseWriter, req *http.Request, flags ...stri
if _, ok := params[conflict]; ok {
if found {
resp.WriteHeader(http.StatusBadRequest)
fmt.Fprint(resp, "Conflicting flags: "+params.Encode())
fmt.Fprintf(resp, "Conflicting flags: %v\n", params.Encode())
return true
}
found = true
Expand Down

0 comments on commit c8cb334

Please sign in to comment.