-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Cannot parse ssh://git@bitbucket:7999/MY_ORG/my_repo.git
since v12
#153
Comments
Important AdditionSomething important I have just noticed: This issue Does not reproduce in node, It happens to me in React applications. If you try to add a test to this repo on parsing the URL I've mentioned, the parsing will work. Steps to reproduce:Create a new create-react-app application
Add git-url-parse to your project and use it
and use the module in App.js, for example:
Run the app and get the broken parse in the console:
console:
|
I believe that this might be the issue - IonicaBizau/parse-path@f9ad885#diff-92bbac9a308cd5fcf9db165841f2d90ce981baddcb2b1e26cfff170929af3bd1R40
|
found two more links that might be useful: |
Is there fix-up yet for this issue? |
The ssh git url from my BitBucket (On-Prem) server isn't parsed properly by the module anymore, since version 12.
I'm not sure what specifically makes it different from other URLs, but it used to work until I tried to upgrade the module, and the URL is copied and pasted from bitbucket, didn't add or remove anything from it.
As you can see, many of the returned attributes are broken:
port, resource, sort, owner, organization, full_name
The URL:
git-url-parse version 11.6.0 response:
git-url-parse version 13.1.0 response:
The text was updated successfully, but these errors were encountered: