Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3.31
-
None
-
None
Description
A specially constructed ftl will cause freemarker hang and the program will never stop.
Configuration config = new Configuration();
TemplateLoader templateLoader = new FileTemplateLoader(new File("/tmp/"));
config.setTemplateLoader(templateLoader);
Template template = config.getTemplate("file1.ftl");
See file1.ftl in attachment.