-
Notifications
You must be signed in to change notification settings - Fork 36
Make json parsing more strict #655
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
Conversation
Modver resultThis report was generated by Modver, This PR does not require a change in your module’s version number. |
04db1ca to
3ed0e8b
Compare
bernhardreiter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License still missing.
Not the same interface.
Too many unrelated whitespace changes.
bernhardreiter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to how the checker is structured, the new code will miss the wrong keys in the PMD check, but since this is checked and caught a second time anyway (and solving it would take considerable effort): LGTM & works
Tested via setting up 3 new advisories in an existing, functioning provider. One has added garbage data, one an unknown field, one is fine. All 3 advisories were treated correctly by validator, checker, downloader and uploader
Also tested the new unit tests successfully
JanHoefelmeyer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM & works
cintek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## What Add upstream changes. Only functional change to CSAF Downloader was that it now rejects CSAF documents which contain trailing garbage data to the JSON: gocsaf#655 ## Why Keep our fork up to date.
No description provided.