mirror of
https://github.com/github/codeql.git
synced 2026-01-30 06:42:57 +01:00
Fix frontend error in ql/test/query-tests/Security/CWE-079.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user