Include acquisition

Denis Bredelet <[email protected]>
Newsgroups gmane.comp.web.freemarker.devel
Message-ID <[email protected]>
Daniel Dekany wrote:

>> 
> You also know this feature?
> http://freemarker.org/docs/ref_directive_include.html#ref_directive_include_acquisition

I didn't know about this feature. It is cool, but how do you make sure templates are not loaded from a wrong place?

Eg. <#include "*/tmp/quickfix.ftl">

Is there a configuration setting that tells Freemarker /tmp is off-limits? A way to tell the minimum length or minimum prefix of the wildcard part. 

Cheers
-- Denis.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2

_______________________________________________
FreeMarker-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.