kawamataryo / copy-git-link

Provides a shortcut to copy permalink in their online Git repositories.
https://plugins.jetbrains.com/plugin/17756-copy-git-link
25 stars 13 forks source link

Update regex to handle link with port #20

Closed tandcode closed 1 year ago

tandcode commented 1 year ago

When repo url contains a port, link is generated incorrectly. So for url: ssh://git@main.gitlab.in.example.com:1234/ex/some-repository.git next link will be generated: https://main.gitlab.in.example.com/1234/ex/some-repository/...