Skip to content

Fix WSTG report generation: footer components written to body#134

Open
laikhtman wants to merge 1 commit into
CervantesSec:masterfrom
laikhtman:contrib/wstg-report-footer
Open

Fix WSTG report generation: footer components written to body#134
laikhtman wants to merge 1 commit into
CervantesSec:masterfrom
laikhtman:contrib/wstg-report-footer

Conversation

@laikhtman

Copy link
Copy Markdown

Problem

When assembling a WSTG report, the footer loop appends into sbBody instead of sbFooter. As a result footer components are duplicated into the body region and the {{FooterComponents}} placeholder is replaced with an empty string. The MASTG generation path already uses sbFooter correctly, confirming the copy-paste slip.

Fix

Append footer components to sbFooter.

Testing

dotnet build succeeds with 0 errors.

The footer loop appended into sbBody, so footer components were duplicated into
the body and {{FooterComponents}} was replaced with an empty string. Append to
sbFooter, matching the MASTG generation path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant