is-url icon indicating copy to clipboard operation
is-url copied to clipboard

(Maybe) add support for git+ssh:// URLs

Open zeke opened this issue 11 years ago • 1 comments

From npm's package.json docs, Git urls can be of the form:

  • git://github.com/user/project.git#commit-ish
  • git+ssh://user@hostname:project.git#commit-ish
  • git+ssh://user@hostname/project.git#commit-ish
  • git+http://user@hostname/project/blah.git#commit-ish
  • git+https://user@hostname/project/blah.git#commit-ish

Not sure it's appropriate to support these kinds of URLs, but figured I'd bring it up.

zeke avatar Jul 02 '14 19:07 zeke

Perhaps they could be optionally supported with a new allowGit option (see https://github.com/segmentio/is-url/pull/14 for a WIP concerning a new options parameter)

shawninder avatar Aug 10 '16 20:08 shawninder