Skip to content

Commit 417cb41

Browse files
Fixes branch names with special characters not working from Launchpad
Authored by: Eric Amodio @eamodio
1 parent 3c5c01c commit 417cb41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plus/launchpad/launchpadProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ export function getPullRequestBranchDeepLink(
10181018
return Uri.parse(
10191019
`${scheme}://${container.context.extension.id}/${'link' satisfies UriTypes}/${DeepLinkType.Repository}/-/${
10201020
DeepLinkType.Branch
1021-
}/${headRefBranchName}?url=${encodeURIComponent(ensureRemoteUrl(remoteUrl))}${
1021+
}/${encodeURIComponent(headRefBranchName)}?url=${encodeURIComponent(ensureRemoteUrl(remoteUrl))}${
10221022
action != null ? `&action=${action}` : ''
10231023
}`,
10241024
);

0 commit comments

Comments
 (0)