OpenSearch/x-pack
Jason Tedor 6fb1e4a759
Fix handling of percent-encoded spaces in Windows batch files (#31034)
If you invoke elasticsearch-plugin (or any other CLI script on Windows)
with a path that has a percent-encoded space (or any other
percent-encoded character) because the CLI scripts now shell into a
common shell script (elasticsearch-cli) the percent-encoded space ends
up being interpreted as a parameter. For example passing install --batch
file:/c:/encoded%20%space/analysis-icu-7.0.0.zip to elasticsearch-plugin
leads to the %20 being interpreted as %2 followed by a zero. Here, the
%2 is interpreted as the second parameter (--batch) and the
InstallPluginCommand class ends up seeing
file:/c/encoded--batch0space/analysis-icu-7.0.0.zip as the path which
will not exist. This commit addresses this by escaping the %* that is
used to pass the parameters to the common CLI script so that the common
script sees the correct parameters without the %2 being substituted.
2018-06-01 15:00:41 -04:00
..
dev-tools Fixup build after opening x-pack 2018-04-20 15:33:46 -07:00
docs [DOCS] Fixes links (#31011) 2018-05-31 17:02:18 -07:00
license-tools Make licensing FIPS-140 compliant (#30251) 2018-05-02 22:19:43 +03:00
plugin Fix handling of percent-encoded spaces in Windows batch files (#31034) 2018-06-01 15:00:41 -04:00
qa [ML][TEST] Fix bucket count assertion in all tests in ModelPlotsIT (#31026) 2018-06-01 10:51:12 +01:00
test Rename certutil 2018-04-20 15:33:59 -07:00
transport-client Migrate x-pack-elasticsearch source to elasticsearch 2018-04-20 15:29:54 -07:00
NOTICE.txt Migrate x-pack-elasticsearch source to elasticsearch 2018-04-20 15:29:54 -07:00
README.md Reorganize license files 2018-04-20 15:33:59 -07:00
build.gradle Build: Remove legacy bwc files from xpack (#30485) 2018-05-10 22:23:02 -07:00

README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.