Open simianhacker opened 5 months ago
Kibana version:
8.13.2
Elasticsearch version:
Describe the bug:
When an APM service name contains a space, the {{context.viewInAppUrl}} is not properly encoded.
{{context.viewInAppUrl}}
Steps to reproduce:
Expected behavior:
The space in the service.name should be encoded.
service.name
Any additional context:
service.name in this file should be wrapped with encodeURIComponent:
encodeURIComponent
https://github.com/elastic/kibana/blob/5a74376da0acd05388ddde264ab3409dd939051f/x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts#L16
and here:
https://github.com/elastic/kibana/blob/5a74376da0acd05388ddde264ab3409dd939051f/x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts#L28
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)
Kibana version:
8.13.2
Elasticsearch version:
8.13.2
Describe the bug:
When an APM service name contains a space, the
{{context.viewInAppUrl}}
is not properly encoded.Steps to reproduce:
{{context.viewInAppUrl}}
Expected behavior:
The space in the
service.name
should be encoded.Any additional context:
service.name
in this file should be wrapped withencodeURIComponent
:https://github.com/elastic/kibana/blob/5a74376da0acd05388ddde264ab3409dd939051f/x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts#L16
and here:
https://github.com/elastic/kibana/blob/5a74376da0acd05388ddde264ab3409dd939051f/x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts#L28