We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colon is not excluded from the list of invalid file names in org.elasticsearch.common.Strings.java in line 683. Mentioned line should read:
public static final ImmutableSet INVALID_FILENAME_CHARS = ImmutableSet.of('', '/', '*', '?', '"', '<', '>', '|', ' ', ',', ':');
This bug causes crash to elasticsearch on Windows with following curl line: curl "http://localhost:9200/bitcoin:9200" -X POST
Here's the link to the code: https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/common/Strings.java#L683
The text was updated successfully, but these errors were encountered:
Instead of blacklisting characters, one could validate for whitelisted characters.
Sorry, something went wrong.
Agreed - we should whitelist instead.
Related to #6736
Closing in favour of #9059
No branches or pull requests
Colon is not excluded from the list of invalid file names in org.elasticsearch.common.Strings.java in line 683. Mentioned line should read:
public static final ImmutableSet INVALID_FILENAME_CHARS = ImmutableSet.of('', '/', '*', '?', '"', '<', '>', '|', ' ', ',', ':');
This bug causes crash to elasticsearch on Windows with following curl line:
curl "http://localhost:9200/bitcoin:9200" -X POST
Here's the link to the code:
https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/common/Strings.java#L683
The text was updated successfully, but these errors were encountered: