I have implemented a filter which would scan all the request parameters though regular expression blacklist the requuest if any of the following charcters are found in request:-
'<>?:;
It is satsifying the security aspects perfectly but disrupting the functional aspect. Supoose a user can enter All these characters in a textbox and can also submit the form.
But because of the filter it considers as security threat and redirct it to the error page.
Is it good to send the request encoded in unicode if so then how to encode or decode it?.