-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Improve SQL quoting in results and host details
When creating new results in make_osp_result and checking for duplicate results and host details, all strings are SQL quoted. This fixes various SQL errors like ones when recieving an empty result severity or a host detail containing a single quote / apostrophe.
- Loading branch information
1 parent
57dd56e
commit e51879c
Showing
1 changed file
with
70 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters