dwadw created FREEMARKER-215:
--------------------------------
Summary: a specially constructed ftl will cause freemarker hang
Key: FREEMARKER-215
URL: https://issues.apache.org/jira/browse/FREEMARKER-215
Project: Apache Freemarker
Issue Type: Bug
Components: engine
Affects Versions: 2.3.31
Reporter: dwadw
Attachments: file1.ftl
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)