Showing posts with label servlet-filters. Show all posts
Showing posts with label servlet-filters. Show all posts

Wednesday, April 25, 2012

Modify request parameter with servlet filter


An existing web application is running on Tomcat 4.1. There is an XSS issue with a page, but I can't modify the source. I've decided to write a servlet filter to sanitize the parameter before it is seen by the page.