Fixed an internal server error caused by missing multipart boundaries