sourcebot icon indicating copy to clipboard operation
sourcebot copied to clipboard

[bug] Open in bitbucket and commit link to bitbucket server have the incorrect path

Open CyberT17 opened this issue 9 months ago • 0 comments

Describe the bug

When viewing the source code for a file. The "Open in Bitbucket" button in the top right corner leads to an invalid url for bitbucket server. Here is an example of the link that is opened when clicking the "Open in Bitbucket" button. Notice the extra /browse path in the url. If you remove the extra /browse the link is correct. https://bitbucket-server.com/projects/ABC/repos/some-repo**/browse/browse/**README.MD?at=main

This is also the case when clicking the commit url on the /repos table. It also has an extra /browse in the url.

To reproduce

Setup SB with bitbucket server, view a file and click the "Open in Bitbucket" button and observe that the url is invalid. On the /repos page, click the commit hash link and observe that the url is invalid

Sourcebot deployment information

Sourcebot version v4.10.28

Additional information

No response

CyberT17 avatar Feb 11 '26 19:02 CyberT17