Skip to content

Aviator auto-remediation Fix#1060

Merged
rsenden merged 4 commits into
fortify:dev/v3.xfrom
ankit2995:ankit/remediation-fix
Jul 22, 2026
Merged

Aviator auto-remediation Fix#1060
rsenden merged 4 commits into
fortify:dev/v3.xfrom
ankit2995:ankit/remediation-fix

Conversation

@ankit2995

@ankit2995 ankit2995 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Note: These needs to go as Hotfix in dev/v3.x

Summary

This change makes Aviator auto-remediation apply source edits using the encoding declared in audit.fvdl instead of assuming UTF-8. It reuses the existing streaming FVDL parser to read source file encoding metadata, applies strict decode/encode validation, and preserves the source file’s existing line endings when writing remediated content.

https://almoctane-ams.saas.microfocus.com/ui/entity-navigation?p=206015/2001&entityType=work_item&id=2311032

fix: fcli aviator ssc apply-remediations: apply source edits using the encoding declared in audit.fvdl instead of assuming UTF-8
fix: fcli fod aviator apply-remediations: apply source edits using the encoding declared in audit.fvdl instead of assuming UTF-8

@rsenden
rsenden merged commit 71919f7 into fortify:dev/v3.x Jul 22, 2026
14 of 15 checks passed
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.

3 participants