mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 14:35:04 +00:00
4a686f04cf
When using a path like `"/<logstash-{now%2Fd}>/_search"` in the http webhook. The already escaped slash (%2F) got escaped twice and thus did not work any more. The escaping happened when the code created an URI and was done as part of that constructor. This is now switched to an URL (which is used at the end anyway) which does not do the escaping, even though this was required for the query string, which is now done when constructing. Closes elastic/elasticsearch#1364 Original commit: elastic/x-pack-elasticsearch@861b6d2378