Page is not loaded when typing the apps home page url with / at the end of the URL #75051
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:New Platform
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
v7.10.0
On APM we're moving to use the platform history (#74328) I was making some tests and found out an issue when redirection the home page.
When we navigate to APM home page
app/apm
we redirect the user toapp/apm/services
. The problem happens when I typeapp/apm/
(with/
at the end of the URL). The URL is replaced toapp/apm/services
but the page isn't loaded.I've investigated a bit and found out that the problem happens in this function https://github.com/elastic/kibana/blob/master/src/core/public/application/scoped_history.ts#L281
When I type
app/apm/
, this value is set asbasePath
, and when this function is called it returnsservices
instead of/services
.A possible solution would be to remove the last slash from the base path.
The text was updated successfully, but these errors were encountered: