The Config.groovy setting grails.views.default.codec
specifies the default codec used to encode data with ${...}
.
This config setting can take any of the values none
, html
and base64
.
I understand the reason to why one would set them to none
(no filtering required) or html
(to avoid XSS-attacks), but why would anyone like to set it to base64-encoding?
Please provide a specific use-case when it would be appropriate to set it to base64
.