Skip to main content
1 of 5
Asaph
  • 161.7k
  • 25
  • 201
  • 203

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

Asaph
  • 161.7k
  • 25
  • 201
  • 203