org.xwiki.velocity.internal.util
Class RestrictParseLocationEventHandler
java.lang.Object
org.xwiki.velocity.internal.util.RestrictParseLocationEventHandler
public class RestrictParseLocationEventHandler
- extends Object
Velocity event handler that filters #parse calls to forbid including files outside the templates directory.
- Since:
- 3.5M1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestrictParseLocationEventHandler
public RestrictParseLocationEventHandler()
includeEvent
public String includeEvent(String includeResourcePath,
String currentResourcePath,
String directiveName)