Pull request URL encoding

Issue #16 closed
Caleb created an issue

When I try to create a pull request to a bitbucket server from a branch issue/WHATEVER-1234 with the plugin

Then in the browser I get an url that contains sourceBranch=issue%252FWHATEVER-1234 (wrong)

When I try to create a pull request to a bitbucker server from a branch issue/WHATEVER-1234 from the browser

Then I get an url that contains sourceBranch=issue%2FWHATEVER-1234 (correct)

I'd expect the plugin to create the same URL as I get when I user the browser to create the pull request.

Comments (9)

  1. Daniil Penkin staff

    Hi Caleb,

    Thanks for trying Bitbucket Linky and reaching out with this issue!

    Can you please confirm which version of the plugin you're using? I'm asking because I fixed a similar issue in version 2.4, so I wonder whether what you've found is new or same bug.

    Sorry, don't have a chance to verify and reproduce this right now, hence am asking for clarification.

    Cheers, Daniil

  2. Daniil Penkin staff

    Meanwhile I managed to try that with Linky 3.0 and confirm this is a bug :( Will fix it soon.

    Please let me know the version you're using anyway. And yeah, I should fix the list of available versions so that you can set it properly when filing an issue.

    Cheers, Daniil

  3. Caleb reporter

    Hi @dpenkin

    I'm using version 3.0 (with Android Studio 2.2.3 don't know if that matters, but here it is anyways)

  4. Daniil Penkin staff

    Hello @calebzor

    I've just released version 3.1 with a fix for the Pull Request link — now it should encode the branch name properly.

    Thank you for reporting the issue!

  5. Log in to comment