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(search): check column name before searching #60

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

GMishx
Copy link
Member

@GMishx GMishx commented May 20, 2024

Check first if the given column name exists before running the search. It prevents SQL injection.

https://github.com/fossology/LicenseDb/security/code-scanning/3

pkg/api/licenses.go Dismissed Show dismissed Hide dismissed
@deo002
Copy link
Collaborator

deo002 commented May 20, 2024

Changes look good!

@GMishx GMishx merged commit 9f23523 into main May 20, 2024
7 checks passed
@GMishx GMishx deleted the fix/search/fuzzy branch May 20, 2024 10:40
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