Skip to content

Commit ffe056f

Browse files
author
Michael Perrotte
committed
fix: updated pathmatch for gitlab
1 parent 53364f9 commit ffe056f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-host-info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var gitHosts = module.exports = {
2525
'bugstemplate': 'https://{domain}/{user}/{project}/issues',
2626
'httpstemplate': 'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',
2727
'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',
28-
'pathmatch': /^[/]([^/]+)[/](.+?)(?:[.]git|[/])?$/
28+
'pathmatch': /^[/]([^/]+)[/](?!.*\/-\/)(.+?)(?:[.]git|[/])?$/
2929
},
3030
gist: {
3131
'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy