Hi Everyone,
I am getting below error while redirecting to another url using ESAPI . I am unable to resolve CWE-113 issues due to this. could anyone please help.
<pre>org.owasp.esapi.errors.ConfigurationException: SecurityConfiguration for HttpUtilities.maxRedirectLength has incorrect type</pre><h3>Processing Info:</h3>
Below are my code and dependencies.
ESAPI.httpUtilities().setCurrentHTTP(request,response);
try {
ESAPI.httpUtilities().sendRedirect(myURL);
} catch (AccessControlException e) {
throw new RuntimeException(e);
}
ESAPI.httpUtilities().clearCurrent();
<dependency>
<groupId>org.owasp.esapi</groupId>
<artifactId>esapi</artifactId>
<version>2.2.3.1</version>
</dependency>