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
cyclonedx-gomod output SBOM with HTML escaped when --json flag was specified.
This converts & in purl to \u0026 which sometimes is not parsed correctly in other tools.
cyclonedx-gomod output SBOM with HTML escaped when --json flag was specified.
This converts
&
in purl to\u0026
which sometimes is not parsed correctly in other tools.We can find an example at
cyclonedx-gomod/examples/app_minikube-v1.23.1.bom.json
Line 53 in e54760d
Proposal:
or
Because the BOMEncoder in cyclonedx-go already has the method
SetEscapeHTML(escapeHTML bool)
, changes should be necessary only around here.cyclonedx-gomod/internal/cli/util/util.go
Lines 98 to 99 in e54760d
The text was updated successfully, but these errors were encountered: