Skip to content

Commit 1175645

Browse files
authored
Merge pull request #8356 from mrsimb/bitbucket-url-fix
Encode BitBucket's branch url "dest" parameter (#8220)
2 parents a41b479 + 169c774 commit 1175645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/desktop/src/lib/forge/bitbucket/bitbucketBranch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export class BitBucketBranch implements ForgeBranch {
66
if (fork) {
77
name = `${fork}:${name}`;
88
}
9-
this.url = `${baseUrl}/branch/${name}?dest=${baseBranch}`;
9+
this.url = `${baseUrl}/branch/${name}?dest=${encodeURIComponent(baseBranch)}`;
1010
}
1111
}

0 commit comments

Comments
 (0)