Implemented an explicit upload policy for an Express API route. The change allows only JPEG, PNG, GIF, and PDF files, rejects files over 10 MB with client errors, and adds regression coverage for allowed uploads, unsupported MIME types, and oversized requests.
Implemented an explicit upload policy for an Express API route. The change allows only JPEG, PNG, GIF, and PDF files, rejects files over 10 MB with client er...