Skip to content

fix(web): protect CSV cells with formula prefixes hidden by whitespace - #104

Merged
sanskarIN merged 3 commits into
mainfrom
fix/csv-leading-whitespace-formula-guard
Oct 23, 2026
Merged

sanskarIN merged 3 commits into
mainfrom
fix/csv-leading-whitespace-formula-guard

Conversation

@sanskarIN

Copy link
Copy Markdown
Owner

Security

All DataTable CSV exports (including the upcoming filtered findings export) now protect text that can look like a spreadsheet formula even after leading spaces, tabs, control bytes or a BOM. Fields beginning with whitespace are quoted correctly; numeric cells remain numeric.

Tests

Extend existing component CSV regression tests with padded formula strings, tab/newline prefixes, normal padded text and earlier formulas. Verified the edge-case examples independently with a small Node smoke check; full web CI still required.

Documentation

Clarify the export guarantee in the web guide and add an Unreleased security entry. No version bump or release.

@sanskarIN
sanskarIN force-pushed the fix/csv-leading-whitespace-formula-guard branch 2 times, most recently from e342a1f to 08847e2 Compare October 23, 2026 09:08
@sanskarIN
sanskarIN force-pushed the fix/csv-leading-whitespace-formula-guard branch from 08847e2 to ee44fa4 Compare October 23, 2026 09:17
@sanskarIN
sanskarIN merged commit e44e5c0 into main Oct 23, 2026
22 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.

1 participant