Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Issue when creating a merge request with nested branch name

Tomas Lima
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2024

Hi

I just updated from version 4.2.5 to both 4.2.6 and 4.2.7 and I'm seeing this bug:
When I create a merge request from a branch with nested names (say `tomas/branch-name`), SourceTree pushes correctly but opens a new browser tab with an incorrect URL:

https://gitlab.com/my-repo/my-repo/-/merge_requests/new?merge_request%5Bsource_branch%5D=tomas%252Fbranch-name

Screenshot 2024-02-21 at 18.22.53.png

Pay attention to the end: `source_branch%5D=tomas%252Fbranch-name`

If I manually replace in the URL `%252F` with `%2F` and hit enter, it opens the correct URL.

For now, I downgraded to version 4.2.5 to keep this functionality unbroken.

Thank you 

3 answers

0 votes
Jinling Wang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 19, 2024

Same issue with 4.2.8

0 votes
Matt Stone
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2024

Still an issue in 4.2.8

0 votes
Matt Stone
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2024

I'm also getting this issue on both 4.2.6 and 4.2.7, it looks like the slash in the branch name is getting double-encoded.

For reference I'm getting this issue both on Github and Gitlab so looks to be a Sourcetree bug that is not yet fixed

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events