Commit 1a1d1ae
committed
fix: correct multi-line record detection in Qualys CSV parser
The previous end-of-record detection incorrectly treated any line ending
with a single quote as a complete record. This caused multi-line records
(where Results field contains embedded newlines) to be split incorrectly.
In Qualys non-standard format, multi-field records always end with """
(the last field's closing "" plus the record's closing "). Single quote
endings within a record are just field content, not record terminators.
Authored by T. Walker - DefectDojo1 parent d9f0aac commit 1a1d1ae
1 file changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
| 406 | + | |
| 407 | + | |
413 | 408 | | |
414 | 409 | | |
415 | 410 | | |
416 | 411 | | |
417 | 412 | | |
418 | 413 | | |
419 | 414 | | |
420 | | - | |
421 | | - | |
| 415 | + | |
422 | 416 | | |
423 | 417 | | |
424 | 418 | | |
| |||
0 commit comments