Skip to content

Conversation

ShubhamOulkar
Copy link
Member

Task List

  • Validate all limits options using checkLimitValue
  • Throw MulterError with detailed context for invalid limit values
  • Ensure getLimits only accepts plain objects and validates all keys
  • Improve error reporting and context for easier debugging
  • documentation (if needed)

closes #1132

@ShubhamOulkar ShubhamOulkar changed the title feat: enhance Multer limit option validation and error messages feat: Multer limit option validation and error messages Jun 11, 2025
@ShubhamOulkar ShubhamOulkar marked this pull request as draft June 11, 2025 06:12
@coveralls
Copy link

coveralls commented Jun 11, 2025

Coverage Status

coverage: 98.909% (+0.4%) from 98.485%
when pulling f486b10 on ShubhamOulkar:busboy-limits
into e259a7e on expressjs:main.

@ShubhamOulkar ShubhamOulkar marked this pull request as ready for review June 11, 2025 06:47
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.

MulterError: File too large not thrown when fileSize is floating point

2 participants