Skip to content

fix: TECH-9140 file validation#239

Open
Javiershenbc wants to merge 2 commits into
mainfrom
fix/TECH-9140-strict-file-format-validation
Open

fix: TECH-9140 file validation#239
Javiershenbc wants to merge 2 commits into
mainfrom
fix/TECH-9140-strict-file-format-validation

Conversation

@Javiershenbc
Copy link
Copy Markdown
Collaborator

TECH-9140 file type validation

Summary

This PR adds client-side file validation before storing uploaded files in the upload flow state.

For uploads that proceed to column mapping, only .csv and .xlsx files are now accepted. Unsupported files such as .doc, .docx, .png, or .pdf are rejected immediately with a clear error message, preventing users from advancing to the mapping step with invalid files.

Unstructured uploads continue to allow their broader set of image and document formats, and no longer run header detection logic that only applies to structured/mapping uploads.

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