[Discover] Context view doesn't work when there are encoded special chars in the id given by URL #122638
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Discover
Discover Application
loe:small
Small Level of Effort
regression
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Kibana version:
7.16
Describe the bug:
Given the id of a document in Elasticsearch contains an id with a special character like
+
"View surrounding documents" no longer works.Steps to reproduce:
Expected behavior:
You should be able to see the document and its surroundings
Screenshots (if relevant):
Any additional context:
We switched Angular to react router recently (#107042), now it seems the id param of the URL is no longer decoded. That's why the document can't be found. You can test it in DevTools
The text was updated successfully, but these errors were encountered: