Skip to main content
added 3 characters in body
Source Link
Asaph
  • 161.7k
  • 25
  • 201
  • 203

Write a simple class that subcalsses HttpServletRequestWrapper with a getParameter() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChainFilter.doChain() instead of the responserequest object directly.

Write a simple class that subcalsses HttpServletRequestWrapper with a getParameter() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain instead of the response object directly.

Write a simple class that subcalsses HttpServletRequestWrapper with a getParameter() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain() instead of the request object directly.

corrected spelling error
Source Link
Asaph
  • 161.7k
  • 25
  • 201
  • 203

Write a simple class that subcalsses HttpServletRequestWrapper with a getParamatergetParameter() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain instead of the response object directly.

Write a simple class that subcalsses HttpServletRequestWrapper with a getParamater() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain instead of the response object directly.

Write a simple class that subcalsses HttpServletRequestWrapper with a getParameter() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain instead of the response object directly.

changed reference to interface to class. correction
Source Link
Asaph
  • 161.7k
  • 25
  • 201
  • 203

Write a simple class that implements thesubcalsses HttpServletRequestWrapper interface with a getParamater() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain instead of the response object directly.

Write a simple class that implements the HttpServletRequestWrapper interface with a getParamater() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain instead of the response object directly.

Write a simple class that subcalsses HttpServletRequestWrapper with a getParamater() method that returns the sanitized version of the input. Then pass an instance of your HttpServletRequestWrapper to Filter.doChain instead of the response object directly.

gramatical fix
Source Link
Asaph
  • 161.7k
  • 25
  • 201
  • 203
Loading
Source Link
Asaph
  • 161.7k
  • 25
  • 201
  • 203
Loading