mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-15 09:25:40 +00:00
A previous fix for the handling of paths on Windows related to paths containing multiple spaces introduced a issue where if JAVA_HOME ends with a backslash, then Elasticsearch will refuse to start. This is not a critical bug as a workaround exists (remove the trailing backslash), but should be fixed nevertheless. This commit addresses this situation while not regressing the previous fix. Relates #22132