1. How to not transform special characters to html entities with owasp antisamy stackoverflow.comI use Owasp Anti samy with Ebay policy file to prevent XSS attacks on my website. I also use Hibernate search to index my objects. When I use this code:
|
2. How to strip spaces and special characters during indexing with hibernate search / lucene stackoverflow.comI have a field that I would like to treat as a single string, while stripping all non-alphanumeric characters from it. For example, I would like to tokenize "123 456.78-9" as ... |