ui: Fix handling of MCP resource template parameters (#23117)
* Fix handling of MCP resource template parameters * Fix formatting for uri-template.test.ts --------- Co-authored-by: kuba <kuba@laptop.local.net>
This commit is contained in:
@@ -160,7 +160,7 @@ export function expandTemplate(template: string, values: Record<string, string>)
|
||||
(name: string, i: number) =>
|
||||
`${encodeURIComponent(name)}=${encodeURIComponent(expandedParts[i])}`
|
||||
)
|
||||
.join(URI_TEMPLATE_SEPARATORS.COMMA)
|
||||
.join(URI_TEMPLATE_SEPARATORS.QUERY_CONTINUATION)
|
||||
);
|
||||
case URI_TEMPLATE_OPERATORS.FORM_CONTINUATION:
|
||||
// Form-style query continuation
|
||||
|
||||
Reference in New Issue
Block a user