Skip to content

Conversation

sigma67
Copy link
Contributor

@sigma67 sigma67 commented Oct 5, 2020

As described in BE-833. This fixes all SQL injection attack vectors I could find. Let me know if I missed any queries.

It makes the code a bit more readable as well (in my opinion).

Signed-off-by: sigma67 [email protected]

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 5, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@nekia nekia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your great contribution. Looks good to me.

@nekia
Copy link
Contributor

nekia commented Oct 6, 2020

P.S. Currently unit test suite for API server side doesn't work. So we need to reconstruct it asap.
https://jira.hyperledger.org/browse/BE-837

@nekia nekia merged commit 34ab649 into hyperledger-labs:master Oct 6, 2020
@sigma67 sigma67 deleted the sqlinject-fix branch October 6, 2020 08:45
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