# git_hosting_providers: Support GitHub remote URLs that start with a slash \(\#34134\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/66acc2698aa39468ea9a0beecc8892cc57f1a91f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 66acc2698aa39468ea9a0beecc8892cc57f1a91f

Requested commit: 66acc2698aa39468ea9a0beecc8892cc57f1a91f

Commit: 66acc2698aa39468ea9a0beecc8892cc57f1a91f

Tree: a3666393cae5eb8b17b3639845675cbab31ac022

Author: Zachary Hamm

Committer: GitHub

## Message

```
git_hosting_providers: Support GitHub remote URLs that start with a slash (#34134)

Remote URLs like `git@github.com:/zed-industries/zed` are valid git
remotes, but currently Zed does not parse them correctly. The result is
invalid "permalink" generation, and presumably other bugs anywhere that
git remote urls are required for the current repository. This ensures
Zed will parse those URLs correctly.

Release Notes:

- Improved support for GitHub remote urls where the
username/organization is preceded by an extra `/` to match the behavior
of `git`, `gh` and `github.com`.

Co-authored-by: Peter Tripp <peter@zed.dev>
```

## Parents

- [707df516647f07c05e0c04e67ee032279b3d8afa](https://git.cafe/gitcafe/zed/commit/707df516647f07c05e0c04e67ee032279b3d8afa?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/66acc2698aa39468ea9a0beecc8892cc57f1a91f?format=markdown)
