Skip to content

Branch name string escaped twice when creating pull request #3052

@Bryaneven

Description

@Bryaneven

Describe the bug
Branch name gets double escaped when creating a pull request from within Lazygit

To Reproduce

  1. Create a branch with / in its name
  2. Open a pull request
  3. Check the url in the browser tab : / is now %252F instead of %2F

Expected behavior
To escape the branch name only once

Version info:
Lazygit : commit=, build date=, build source=homebrew, version=0.40.2, os=darwin, arch=arm64, git version=2.38.1
Git: 2.38.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions