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

fix(crowl): add version escaping from metadata #22

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

DmitriyLewen
Copy link
Collaborator

@DmitriyLewen DmitriyLewen commented Dec 7, 2023

Description

Some metadata may contain characters that require escaping
e.g. 1.0.7?:
https://repo.maven.apache.org/maven2/io/github/visal-99/b24paysdk/maven-metadata.xml

We get error for these cases - https://github.com/aquasecurity/trivy-java-db/actions/runs/7121908835/job/19401374527#step:5:584

Add escaping for ArtifactID and Version from the metadata to skip these files.

test run - https://github.com/DmitriyLewen/trivy-java-db/actions/runs/7125842042/job/19402547977#step:5:678

@DmitriyLewen DmitriyLewen self-assigned this Dec 7, 2023
@DmitriyLewen DmitriyLewen marked this pull request as ready for review December 7, 2023 09:03
@knqyf263 knqyf263 merged commit 15bfe3c into aquasecurity:main Dec 7, 2023
2 checks passed
@DmitriyLewen DmitriyLewen deleted the fix/escape-versions branch December 7, 2023 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants