posted 9 years ago
Hi All,
I have a specific security requirement where I have a URL with malacious content and I need to call a third party tool to sanitize this url.
So as part of this Legacy code which uses spring framwork 2.5, there is an already existing Inteceptor. So i would like to leverage this Interceptor and provide the sanitizing piece of code as part of the prehandle since the prehandle takes in a request object. But once I have sanitized the requestURL I am not sure how to integrate/update this requestURL in the request object.
Any help is appeciated.
Thank you very much for your time.