Kibana version:
7.9.0
Elasticsearch version:
7.9.0
Browser version:
Latest Chrome
Describe the bug:
Snapshots having “:” character (and possibly other special characters) in the name are shown as not found when clicking at them in “Snapshot and restore” section due to Kibana encoding of special characters when making request to Elasticsearch API.
Accessing the same snapshot via API works.
Steps to reproduce:
- Make a snapshot with “:” in the name, for example, use this naming template: <hourly-snapshot-{now/m{yyyy.MM.dd-HH:mm}}>
- Wait until snapshot is done, go to “Snapshot and restore” section in Kibana and find it.
- Click on the snapshot name, Kibana will show “Snapshot not found” error.
Expected behavior:
Snapshot details shall be shown.
Errors in browser console (if relevant):
Request made by Kibana:
GET /api/snapshot_restore/snapshots/elasticsearch-security-snapshots-new/hourly-snapshot-2020.08.25-12%253A03-1xid0zu9qfe1frfmb0pfpq
Response:
{“statusCode”:404,“error”:“Not Found”,“message”:“Snapshot not found”}
Any additional context:
Same snapshot in dev tools:
GET /_snapshot/elasticsearch-security-snapshots-new/hourly-snapshot-2020.08.25-12:03-1xid0zu9qfe1frfmb0pfpq
Response:
{
“snapshots” : [
{
“snapshot” : “hourly-snapshot-2020.08.25-12:03-1xid0zu9qfe1frfmb0pfpq”,
“uuid” : “pkN5qGMTTkSSnQoXD2Y9sw”,
“version_id” : 7090099,
“version” : “7.9.0",
..... further omitted
Kibana version:
7.9.0
Elasticsearch version:
7.9.0
Browser version:
Latest Chrome
Describe the bug:
Snapshots having “:” character (and possibly other special characters) in the name are shown as not found when clicking at them in “Snapshot and restore” section due to Kibana encoding of special characters when making request to Elasticsearch API.
Accessing the same snapshot via API works.
Steps to reproduce:
Expected behavior:
Snapshot details shall be shown.
Errors in browser console (if relevant):
Request made by Kibana:
GET /api/snapshot_restore/snapshots/elasticsearch-security-snapshots-new/hourly-snapshot-2020.08.25-12%253A03-1xid0zu9qfe1frfmb0pfpqResponse:
{“statusCode”:404,“error”:“Not Found”,“message”:“Snapshot not found”}Any additional context:
Same snapshot in dev tools:
GET /_snapshot/elasticsearch-security-snapshots-new/hourly-snapshot-2020.08.25-12:03-1xid0zu9qfe1frfmb0pfpqResponse: