Skip to content

Commit

Permalink
Use env var to block requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto authored Apr 15, 2024
1 parent 5292667 commit 6561750
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public YamlTestResult execute(ExecutorNode node, RawApi rawApi, Map<String, Obje
}

// follow redirects = true for now
testResponse = ApiExecutor.sendRequest(testReq.getRequest(), followRedirect, testingRunConfig, debug, testLogs);
testResponse = ApiExecutor.sendRequest(testReq.getRequest(), followRedirect, testingRunConfig, debug, testLogs, Main.SKIP_SSRF_CHECK);
requestSent = true;
ExecutionResult attempt = new ExecutionResult(singleReq.getSuccess(), singleReq.getErrMsg(), testReq.getRequest(), testResponse);
TestResult res = validate(attempt, sampleRawApi, varMap, logId, validatorNode, apiInfoKey);
Expand Down

0 comments on commit 6561750

Please sign in to comment.