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

Payload with newlines should not place newlines in the waf-evaluation-report-ccyy-month-hh-mm-ss.csv report #266

Open
paul-hammant opened this issue Dec 10, 2024 · 0 comments

Comments

@paul-hammant
Copy link

(export.go) A CSV row should be in a single line, not multiple line. Yet, this testcase - https://github.com/wallarm/gotestwaf/blob/master/testcases/community/community-xxe.yml - will create multiple broken-csv lines

Fields are: "Payload",
"Check Status",
"Response Code",
"Placeholder",
"Encoder",
"Set",
"Case",
"Test Result",

Note: Payload can place a unknown number of commas in the CSV for the "payload" field. Coders machine reading the csv output can overcome that, so it's less important. Spurious newlines will be impossible to overcome.

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

No branches or pull requests

1 participant