We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using git URLs to reference packages in npm, the URL often gets normalized to a form like:
git+ssh://git@github.com/foo/bar.git#b7e1e0fb20cff47bcca4be90d0c6f83a45e51e9c
When using a URL of this form as a downloadLocation value, it fails validation due to the git@ portion of the URL.
downloadLocation
git@
Can the URL regex be expanded to allow for the userinfo portion of the URI?
userinfo
tools-python/src/spdx_tools/spdx/validation/uri_validators.py
Lines 10 to 12 in f15a64f
The text was updated successfully, but these errors were encountered:
Oh Yes, this should explicitly be allowed, see spec section 7.7.
We would also be happy to support you to contribute that fix. If you want, just start creating a PR. You already found the relevant code section.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When using git URLs to reference packages in npm, the URL often gets normalized to a form like:
When using a URL of this form as a
downloadLocation
value, it fails validation due to thegit@
portion of the URL.Can the URL regex be expanded to allow for the
userinfo
portion of the URI?tools-python/src/spdx_tools/spdx/validation/uri_validators.py
Lines 10 to 12 in f15a64f
The text was updated successfully, but these errors were encountered: