Skip to content

Commit c7bb31e

Browse files
[8.18] [UII] Remove extra space when building subcategory in integrations URL (#235684) (#235861)
# Backport This will backport the following commits from `main` to `8.18`: - [[UII] Remove extra space when building subcategory in integrations URL (#235684)](#235684) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-09-19T20:22:09Z","message":"[UII] Remove extra space when building subcategory in integrations URL (#235684)\n\n## Summary\n\nIn integrations browse experience, when user clicks into a subcategory\nsuch as Security > DNS, an extra space is added to the URL:\n`/app/integrations/browse/security/dns_security%20`\n\nReloading the page with the extra space causes no results to be returned\nbecause we try to do exact matching on `dns_security%20` subcategory.\n\nThis PR fixes this bug by removing the extra space.","sha":"4d433cefbea1dffadcc20c1a23c6e34a620bd436","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:all-open","v9.2.0"],"title":"[UII] Remove extra space when building subcategory in integrations URL","number":235684,"url":"https://github.com/elastic/kibana/pull/235684","mergeCommit":{"message":"[UII] Remove extra space when building subcategory in integrations URL (#235684)\n\n## Summary\n\nIn integrations browse experience, when user clicks into a subcategory\nsuch as Security > DNS, an extra space is added to the URL:\n`/app/integrations/browse/security/dns_security%20`\n\nReloading the page with the extra space causes no results to be returned\nbecause we try to do exact matching on `dns_security%20` subcategory.\n\nThis PR fixes this bug by removing the extra space.","sha":"4d433cefbea1dffadcc20c1a23c6e34a620bd436"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/235684","number":235684,"mergeCommit":{"message":"[UII] Remove extra space when building subcategory in integrations URL (#235684)\n\n## Summary\n\nIn integrations browse experience, when user clicks into a subcategory\nsuch as Security > DNS, an extra space is added to the URL:\n`/app/integrations/browse/security/dns_security%20`\n\nReloading the page with the extra space causes no results to be returned\nbecause we try to do exact matching on `dns_security%20` subcategory.\n\nThis PR fixes this bug by removing the extra space.","sha":"4d433cefbea1dffadcc20c1a23c6e34a620bd436"}}]}] BACKPORT--> Co-authored-by: Jen Huang <[email protected]>
1 parent b96f655 commit c7bb31e

File tree

1 file changed

+1
-1
lines changed
  • x-pack/platform/plugins/shared/fleet/public/constants

1 file changed

+1
-1
lines changed

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
@@ -131,7 +131,7 @@ export const pagePathGetters: {
131131
}) => {
132132
const categoryPath =
133133
category && subCategory
134-
? `/${category}/${subCategory} `
134+
? `/${category}/${subCategory}`
135135
: category && !subCategory
136136
? `/${category}`
137137
: ``;

0 commit comments

Comments
 (0)