Skip to content

Commit 4d433ce

Browse files
authored
[UII] Remove extra space when building subcategory in integrations URL (elastic#235684)
## Summary In integrations browse experience, when user clicks into a subcategory such as Security > DNS, an extra space is added to the URL: `/app/integrations/browse/security/dns_security%20` Reloading the page with the extra space causes no results to be returned because we try to do exact matching on `dns_security%20` subcategory. This PR fixes this bug by removing the extra space.
1 parent 1fb79f9 commit 4d433ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • x-pack/platform/plugins/shared/fleet/public/constants

x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export const pagePathGetters: {
133133
}) => {
134134
const categoryPath =
135135
category && subCategory
136-
? `/${category}/${subCategory} `
136+
? `/${category}/${subCategory}`
137137
: category && !subCategory
138138
? `/${category}`
139139
: ``;

0 commit comments

Comments
 (0)