Skip to content

Conversation

@BurhanCantCode
Copy link
Collaborator

Summary

  • add explicit MIME guards to the chat attachment menu so each entry only accepts its intended content type
  • prevent cross-category uploads by rejecting images from the Files option and non-images from the Images option with inline feedback
  • resolves issue #175

Testing

  • manual: attempted to upload .txt via Images → blocked with toast
  • manual: attempted to upload .png via Files → blocked with toast

@vercel
Copy link

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
gitwit-production Ready Ready Preview Comment Nov 13, 2025 8:08am

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.

Bug[AI Chats]: Missing file type validation allows incorrect uploads in image and file sections

2 participants