mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Apparently even if the forward slashes are encoded in the href on the page the browser will automatically decode them. This prevented the context route from matching the URL when the anchor ID contained forward slashes. Since no route matched, the default route (discover) would get loaded. To fix this, we simply add a wildcard to the end of the context route so it consumes the forward slashes.
This commit is contained in:
parent
39253a27ed
commit
9f51df962a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import contextAppRouteTemplate from './index.html';
|
|||
|
||||
|
||||
uiRoutes
|
||||
.when('/context/:indexPatternId/:type/:id', {
|
||||
.when('/context/:indexPatternId/:type/:id*', {
|
||||
controller: ContextAppRouteController,
|
||||
controllerAs: 'contextAppRoute',
|
||||
resolve: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue