mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
fix autoformatting
This commit is contained in:
@@ -2,7 +2,7 @@ import go
|
||||
import TestUtilities.InlineExpectationsTest
|
||||
|
||||
module FasthttpTest implements TestSig {
|
||||
string getARelevantTag() { result = ["UriSucc","UriPred", "ReqSucc", "ReqPred"] }
|
||||
string getARelevantTag() { result = ["UriSucc", "UriPred", "ReqSucc", "ReqPred"] }
|
||||
|
||||
predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
exists(Fasthttp::Request::RequestAdditionalStep q, DataFlow::Node succ, DataFlow::Node pred |
|
||||
|
||||
@@ -10,7 +10,7 @@ module FasthttpTest implements TestSig {
|
||||
s.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
|
||||
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
|
||||
element = s.toString() and
|
||||
value = s.toString() and
|
||||
value = s.toString() and
|
||||
tag = "OpenRedirect"
|
||||
)
|
||||
}
|
||||
|
||||
@@ -6,8 +6,9 @@ module FasthttpTest implements TestSig {
|
||||
|
||||
predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
exists(UntrustedFlowSource source |
|
||||
source.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
|
||||
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
|
||||
source
|
||||
.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
|
||||
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
|
||||
element = source.toString() and
|
||||
value = "\"" + source.toString() + "\"" and
|
||||
tag = "UntrustedFlowSource"
|
||||
|
||||
Reference in New Issue
Block a user