-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Closed
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilities>buggood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Description
It's perfectly legal for literal '+' characters to appear in the path component on a URL, so for example:
$ curl 'http://localhost:9200/foo+bar' -XPOST
{"error":"InvalidIndexNameException[[foo bar] Invalid index name [foo bar], must not contain the following characters [\\, /, *, ?, \", <, >, |, , ,]]","status":400}
should not result in an error, since the index name was "foo+bar", not "foo bar".
A workaround until this issue have been fixed is to percent-encode the plus sign using %2B, but this is not optimal, as it should not be required.
Metadata
Metadata
Assignees
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilities>buggood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme