We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e4ea0f commit e8325b5Copy full SHA for e8325b5
git-host-info.js
@@ -25,7 +25,7 @@ var gitHosts = module.exports = {
25
'bugstemplate': 'https://{domain}/{user}/{project}/issues',
26
'httpstemplate': 'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',
27
'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',
28
- 'pathmatch': /^[/]([^/]+)[/](?!.*\/-\/)(.+?)(?:[.]git|[/])?$/
+ 'pathmatch': /^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/
29
},
30
gist: {
31
'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ],
0 commit comments