Skip to content

Comments

fix: validate uploaded file MIME signatures#34

Merged
abhiyandhakal merged 1 commit intomainfrom
fix-upload-mime-validation
Feb 8, 2026
Merged

fix: validate uploaded file MIME signatures#34
abhiyandhakal merged 1 commit intomainfrom
fix-upload-mime-validation

Conversation

@abhiyandhakal
Copy link
Member

Summary

  • add binary signature-based MIME detection utility
  • validate uploaded paper files are real PDFs
  • validate registration vouchers are real PDF/PNG/JPEG files
  • validate archive uploads are real PDF/image files and normalize output extension

Validation

  • npm run lint

@abhiyandhakal abhiyandhakal merged commit fdb398f into main Feb 8, 2026
1 check passed
@abhiyandhakal abhiyandhakal deleted the fix-upload-mime-validation branch February 8, 2026 02:42
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