Fix frontend error in ql/test/query-tests/Security/CWE-079.

This commit is contained in:
Max Schaefer
2020-05-20 14:34:36 +01:00
parent 7773828347
commit b871f54e4d

View File

@@ -65,7 +65,7 @@ func serve9(log io.Writer) {
r.ParseForm()
username := r.Form.Get("username")
// OK: not a ResponseWriter
log.Write(username)
log.Write([]byte(username))
})
http.ListenAndServe(":80", nil)
}