1

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.

knorv
  • 49,059
  • 74
  • 210
  • 294

1 Answers1

1

There is most probably no real use case for this. It should just illustrate that you can use any codec (bundled or your own) as the default codec for views.

Siegfried Puchbauer
  • 6,539
  • 34
  • 24
  • Hi Siegfried! Thanks for your excellent Grails answers! Have you seen this bounty question (http://stackoverflow.com/questions/631490/grails-urlmappings-with-url-pattern-ending-with) - seems like a hard question to answer, but maybe you know how to fix it? – knorv Mar 16 '09 at 14:29