Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BitBucket URLs are detected as gitlab #107

Open
mathrick opened this issue Sep 26, 2024 · 0 comments · May be fixed by #108
Open

BitBucket URLs are detected as gitlab #107

mathrick opened this issue Sep 26, 2024 · 0 comments · May be fixed by #108

Comments

@mathrick
Copy link

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://[email protected]/virresh/ghostgame/").platform
'bitbucket'

Versions

Python 3.8, giturlparse 0.12.0 installed from PyPI

mathrick added a commit to mathrick/giturlparse that referenced this issue Sep 26, 2024
user@ is optional for HTTPS URLs. Fixes nephila#107
@mathrick mathrick linked a pull request Sep 26, 2024 that will close this issue
2 tasks
mathrick added a commit to mathrick/giturlparse that referenced this issue Nov 28, 2024
user@ is optional for HTTPS URLs. Fixes nephila#107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant