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 SQL escaping when adding VT references #1429

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Feb 25, 2021

What:
When adding VT references, the type has to be escaped.

Why:
Issues in the scanner or VTs can make it send VT references that contain single quotes.

How did you test it:

Checklist:

When adding VT references, the type has to be escaped in case it
contains single quote marks.
@timopollmeier timopollmeier added backport-to-21.04 backport-to-main This pull request will be ported to the master branch labels Feb 25, 2021
@timopollmeier timopollmeier marked this pull request as ready for review February 26, 2021 07:50
@timopollmeier timopollmeier requested a review from a team as a code owner February 26, 2021 07:50
@bjoernricks bjoernricks merged commit c63aeb0 into greenbone:gvmd-20.08 Feb 26, 2021
timopollmeier added a commit that referenced this pull request Feb 26, 2021
Fix SQL escaping when adding VT references (bp #1429)
timopollmeier added a commit that referenced this pull request Feb 26, 2021
Fix SQL escaping when adding VT references (bp #1429)
@timopollmeier timopollmeier deleted the fix-escaping-vt-prefs branch October 15, 2021 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-main This pull request will be ported to the master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants