Forum Discussion
JakeS
12 years agoLithium Alumni (Retired)
Hi Tripp,
I think you should have access to eval in Freemarker, it's a Freemarker built-in. As far as security, it will depend how you're eventually using the input, but I don't think that Freemarker eval can be a security issue on its own since it won't do anything to change the Freemarker context. You could also try using javascript to create the map (there are examples online), although in that case you'll probably want to use parse, not eval. Obviously you still have to be careful about what you do with the values, but Freemarker eval should be safe on its own to make the hash.
Best,
Jake Scheps
Related Content
- 5 years ago
- 7 years ago
- 10 years ago
- 4 years ago
- 13 years agoInactive User