Skip to content

Commit

Permalink
Merge pull request #1009 from akto-api-security/hotfix/read_ssrf_chec…
Browse files Browse the repository at this point in the history
…k_var

Use env var to block requests
  • Loading branch information
ankush-jain-akto authored Apr 17, 2024
2 parents 5e2e684 + 6561750 commit eb5b605
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public YamlTestResult execute(ExecutorNode node, RawApi rawApi, Map<String, Obje
}
try {
// 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 eb5b605

Please sign in to comment.