myshenin / aws-lambda-multipart-parser

Parser of multipart/form-data requests for AWS Lambda
MIT License
74 stars 38 forks source link

Fix: last two bytes of file content is cut off #25

Closed simonliedl closed 5 years ago

simonliedl commented 5 years ago

According to RFC1341, 7.2.1 (https://tools.ietf.org/html/rfc1341) The data body is trailed by only the sequence \r\n, so only two bytes have to be stripped of the content, not four.