Revert "Loosen up WebSecurityUtils.sanitizeString a bit for NMS-6524"
This did not do what I thought it would do. We'll have to iterate.

This reverts commit 05d038f25b4d21a4bb3da1fcbcfc63a1149dc99c.