You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@qwelol The utility is validating (using a JSON, draft 7 schema validator lib.) against the the JSON schema file published by by the cyclone DX Spec. repo. ... the utility is just reporting the error as returned by the validation library the utility uses when passed a field with:
"format": "iri-reference",
for fun we can look at what IETF says (as it is hard to believe that using the http protocol in your example does not have restrictions for what goes in effectivelt the domain name (or iauthority):
@mrutkows Hmm, i tried to create issue on validation library. But it seems to no longer maintained. Maybe try another tool?
There really is no other library to use and the ABNF shared above suggests the assertion that encoded space chars is valid for an iauthority may not be valid (esp. when using http as a protocol prefix).
Describe the bug
The value "http://private%20package/" is a valid
iri-reference
.Screenshots or output-paste
Problematic part of the SBOM file:
Util output:
Expected behavior
Validation passed
Additional context
At first I thought that the problem was in the sbom file generator, and created a issue for it. Perhaps it will also be interesting
The text was updated successfully, but these errors were encountered: