[
https://issues.apache.org/jira/browse/FREEMARKER-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17711261#comment-17711261
]
Dániel Dékány commented on FREEMARKER-215:
------------------------------------------
Yeah, the parser works on this practically forever. Must be some time
complexity issue.
> 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
> Priority: Major
> 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)