Skip to content

Handling of port component in URLs (with schema) differs from git #5100

@neithernut

Description

@neithernut

Reproduction steps

build libgit2 with examples (lg2), then

mkdir test
cd test
git init
git remote add origin https://github.com:/libgit2/libgit2.git
lg2 fetch origin

Expected behavior

The repository is fetched

Actual behavior

Bad news:
 malformed URL 'https://github.com:/libgit2/libgit2.git'

Version of libgit2 (release number or SHA1)

e50d138

Operating system(s) tested

Gentoo linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions