Change default Freemarker template file extension

This commit changes the default file extension for Freemarker templates
from `*.ftl` to `*.ftlh`. This commit also enables by default the
Freemarker setting `"recognize_standard_file_extensions"` to ensure that
HTML escaping is performed by default in Spring Boot applications.

Applications should adapt to this change by changing the file extensions
of existing templates to `.ftlh`.

Closes gh-15131
This commit is contained in:
Brian Clozel
2019-06-12 15:48:46 +02:00
parent 048be1813e
commit 7a9d1a1e34
20 changed files with 9 additions and 8 deletions