mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 13:38:49 +00:00
I think the escaping done in XMustacheFactory (and by extension JsonEscapingMustacheFactory in core) is broken. You cannot just escape any control character by sticking a '\' in front of it. For example a new line character it '\n' but this will be rendered as a line break. Simply prepending a '\' to this just results in a '\' and then a new line ! Added support for different escaping strategies based on the XContentType of a template for XMustacheEngine. Currently only JSON escaping is supported using jackson.JsonStringEncoder. Templates will be prepended with __<contentType>__:: when the content type is set. If this is set to JSON we will json escape the content. Fixes: elastic/elasticsearch#404 Original commit: elastic/x-pack-elasticsearch@1400cba659
= Elasticsearch Watcher Plugin This plugins adds conditioned scheduled tasks features to elasticsearch - such a task is called a `Watch`. You can build the plugin with `mvn package`. The documentation is put in the `docs/` directory.
Description
Languages
Java
99.5%
Groovy
0.4%