Hello All,

I am using Tapestry 5.0.14 and am looking to filter input in my Tapestry
application for characters related to cross-site scripting.  Some input is
from regular form submission, while other input is received using AJAX event
listeners and JSON.  I realize that one can use a custom translator to scrub
any unwanted characters from input for a given field.  However, I was
wondering if anyone has come across a more general pattern or strategy to do
this for both form and JSON input without having to explicitly define a
translator for form fields, and manually call some method to do the same for
a JSONObject.

Thanks,

Eric

Reply via email to