fixes #3085
Merge pull request #3087 from dotCMS/issue-3085-charsetencodingfilter-should-check-for-xss-attacks

fixes #3085