eiri opened a new pull request #817: Don't crash on invalid inline attachments URL: https://github.com/apache/couchdb/pull/817 ## Overview We trust inline attachment to be base64 encoded, so in case it's not provided or invalidly encoded the upload request crashes with `function_clause`. The change catches decode attempt and re-throws it as 400 error. ## Testing recommendations Standard eunit and javascript tests should pass. ## GitHub issue number Fixes #784 ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests; - [ ] Documentation reflects the changes; ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
