mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Expected change in test output
These sources are now modeled using models-as-data, which (probably correctly) uses the post-update node as the source. But the deprecated QL models still exist, so we get two test results for each of these calls.
This commit is contained in:
@@ -169,10 +169,10 @@ func fasthttpServer() {
|
|||||||
fmt.Println(body1, body2, body3, body4)
|
fmt.Println(body1, body2, body3, body4)
|
||||||
requestCtx.Request.BodyStream() // $ RemoteFlowSource="call to BodyStream"
|
requestCtx.Request.BodyStream() // $ RemoteFlowSource="call to BodyStream"
|
||||||
|
|
||||||
requestCtx.Request.ReadBody(&bufio.Reader{}, 100, 1000) // $ RemoteFlowSource="&..."
|
requestCtx.Request.ReadBody(&bufio.Reader{}, 100, 1000) // $ RemoteFlowSource="&..." RemoteFlowSource="&... [postupdate]"
|
||||||
requestCtx.Request.ReadLimitBody(&bufio.Reader{}, 100) // $ RemoteFlowSource="&..."
|
requestCtx.Request.ReadLimitBody(&bufio.Reader{}, 100) // $ RemoteFlowSource="&..." RemoteFlowSource="&... [postupdate]"
|
||||||
requestCtx.Request.ContinueReadBodyStream(&bufio.Reader{}, 100, true) // $ RemoteFlowSource="&..."
|
requestCtx.Request.ContinueReadBodyStream(&bufio.Reader{}, 100, true) // $ RemoteFlowSource="&..." RemoteFlowSource="&... [postupdate]"
|
||||||
requestCtx.Request.ContinueReadBody(&bufio.Reader{}, 100) // $ RemoteFlowSource="&..."
|
requestCtx.Request.ContinueReadBody(&bufio.Reader{}, 100) // $ RemoteFlowSource="&..." RemoteFlowSource="&... [postupdate]"
|
||||||
|
|
||||||
// Response methods
|
// Response methods
|
||||||
// Xss Sinks Related method
|
// Xss Sinks Related method
|
||||||
|
|||||||
Reference in New Issue
Block a user