Add a repository with commas in name:
POST /_snapshot/test,with,comma
{
"type" : "fs",
"settings" : {
"location" : "/tmp/es-backups"
}
}
Attempting to retrieve information about this repository returns an error:
GET /_snapshot/test,with,comma
or encoded
GET /_snapshot/test%2Cwith%2Ccomma
returns
{
"error" : {
"root_cause" : [
{
"type" : "repository_missing_exception",
"reason" : "[test] missing"
}
],
"type" : "repository_missing_exception",
"reason" : "[test] missing"
},
"status" : 404
}
Could we disallow commas in repository name to prevent this from happening?
Add a repository with commas in name:
Attempting to retrieve information about this repository returns an error:
or encoded
returns
Could we disallow commas in repository name to prevent this from happening?