The Grails Config.groovy setting grails.views.default.codec specifies the default codec used to encode data within ${...} in Grails views.
This config setting can take any of the values none (no filtering required), html (to avoid XSS-attacks) and base64 (has no real-world use-case that I know of).
The Grails default is none (no filtering).
Questions:
- Are there any compelling technical reasons not to use the safer option "html"?
- When do you choose to go with the default option of "none" in your Grails projects?