Skip to content

BitBucket URLs are detected as gitlab #107

Open
@mathrick

Description

@mathrick

Description

HTTP BitBucket URLs get detected as gitlab if they don't contain username@

Steps to reproduce

>>> parse("https://bitbucket.org/virresh/ghostgame/").platform
'gitlab'
>>> parse("https://virresh@bitbucket.org/virresh/ghostgame/").platform
'bitbucket'

Versions

Python 3.8, giturlparse 0.12.0 installed from PyPI

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions