-
Improvement
-
Resolution: Duplicate
-
Neutral
-
4.3.6
-
None
-
-
Yes
-
Empty show more show less
Since Freemarker 2.3.1 a new built-in exists: ?url for url escaping: see http://freemarker.sourceforge.net/docs/ref_builtins_string.html#ref_builtin_url. For this built-in to work the charset has to be set. That can be done in tree ways:
1. as a parameter of the built-in itself: ${x?url('UTF-8')}
2. add a setting to a template: setting url_escaping_charset="UTF-8"
3. add the setting to the freemarker config.
The patch added takes care of option 3.
Acceptance criteria
- duplicates
-
MAGNOLIA-3739 Freemarker ?url builtin doesn't work in Magnolia
- Closed
- is related to
-
MAGNOLIA-1469 Make Freemarker more configurable through admininterface
- Closed