mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
WW-4494 Uses 2.3.0 FreeMarker incompatibility level by default
This commit is contained in:
@@ -328,7 +328,7 @@ public class FreemarkerManager {
|
||||
* @param servletContext
|
||||
*/
|
||||
protected Configuration createConfiguration(ServletContext servletContext) throws TemplateException {
|
||||
Configuration configuration = new Configuration();
|
||||
Configuration configuration = new Configuration(Configuration.VERSION_2_3_0);
|
||||
|
||||
configuration.setTemplateExceptionHandler(TemplateExceptionHandler.HTML_DEBUG_HANDLER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user