-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassCastException org.owasp.esapi.filters.SafeRequest cannot be cast to javax.servlet.ServletRequestWrapper using jdk1.6 #25
Comments
From chrisisbeef on July 14, 2009 22:47:09 What Container/Application Server are you encountering this error under? (Please |
From ajitkaml...@gmail.com on August 05, 2009 12:24:17 we are using jboss application server and struts framework.here is the detail related java.lang.ClassCastException: org.owasp.esapi.filters.SafeRequest cannot be cast to |
From ajitkaml...@gmail.com on August 28, 2009 08:12:20 Any update on this? I am getting this error on production also. |
From schal...@darkmist.net on December 13, 2009 19:11:13 Should be fixed in revision 911 . These two classes now extends Be aware that these classes have been removed/renamed in 2.0. Status: Fixed |
From ajitkaml...@gmail.com on May 14, 2009 11:11:05
We are getting the following error on chain.doFilter in the filter class
after we use the SafeRequest and SafeResponse with jdk1.6
ERROR [com.pgi.web.filter.SecureHttpFilter] java.lang.ClassCastException:
org.owasp.esapi.filters.SafeRequest cannot be cast to
javax.servlet.ServletRequestWrapper
The following line of code is used in the filter class:-
HttpServletRequest hrequest = (HttpServletRequest) request;
HttpServletResponse hresponse = (HttpServletResponse) response;
ESAPI.httpUtilities().setCurrentHTTP(hrequest, hresponse);
ESAPI.httpUtilities().getCurrentResponse());
Original issue: http://code.google.com/p/owasp-esapi-java/issues/detail?id=15
The text was updated successfully, but these errors were encountered: