Open Pawluq opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Wow, this is cool, had no idea one could add non-ASCII characters to git branches 😄, but according to git's docs it's really valid.
I can reproduce this issue 👍🏻
Did a bit of research on this, looks like this is happening just with GitLab, GitHub opens these non-ascii characters just fine (tried yümmy
, gítpóď
).
This error is thrown in https://github.com/gitpod-io/gitpod/blob/de5ee830711ac2f501d458492ce3f6f4eb20ce9b/components/server/src/gitlab/gitlab-context-parser.ts#L264, and it looks like the branch's name is just incorrectly parsed without decoding the special characters. Maybe decodeURIComponent
could help?
/cc @dnsmichi
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bug description
Hi,
we have a Branch called: sprint_21_10-5013-benutzerin-benachrichtigung-awareness-personen-via-erwähnen. If I try to open it in Gitpod i get the following Error:
Cannot find tag/branch for context: [...]/sprint_21_10-5013-benutzerin-benachrichtigung-awareness-personen-via- erw%C3%A4hnen.
It looks like there's some problem with the umlaut "ä". I cloned the branch into a new one and replaced the letter with "ae" and now it works.
Steps to reproduce
Expected behavior
Gitpod opens branches with germans umlauts
Example repository
No response
Anything else?
No response