Open clemsbot opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.
By kaHaleMaKai,
Description
When on a branch that includes character that require url-encoding, they don't get encoded when opening the repo in a browser.
Expected Behavior vs Actual Behavior
E.g. on a branch like
#1-this-is-my-first-issue
the opened url should be something likeInstead, the browser opens the un-encoded url
and fails.
Possible Fix Url-encode the branch name. I haven't checked whether this also applies to issue names, mrs etc.
Steps to Reproduce
cd
into a git repo.#
.glab repo view --web
.Logs
no logs
Your Environment
glab --version
):1.21.1 (2021-09-28)
debian testing/bookworm
Last updated: 2022-01-31T20:01:20.065Z
https://gitlab.com/profclems/glab/-/issues/279