stencil icon indicating copy to clipboard operation
stencil copied to clipboard

No check for empty file upload in common/src/file-upload.controller.ts

Open gnaaruag opened this issue 1 year ago • 0 comments

Currently in common/src/file-upload.controller.ts empty file uploads are allowed to be uploaded. Proposed PR adds a check before letting the upload take place.

This ticket helps with the following aspect

  • Potential resource efficiency
  • potential security gains (to prevent a mass empty file upload exploit)
  • Only valid files pass through (improves data integrity)

gnaaruag avatar Jul 06 '24 07:07 gnaaruag