HomePhorge

Nicely handle invalid (empty) request body in…

Description

Nicely handle invalid (empty) request body in SendMail/SmartReply/SmartForward command (T1052)

I've found iOS devices sending empty request for SendMail when in non-SSL mode.
In such case it is useless to even call getResponse(), also PHP warning
on simplexml_import_dom() was logged. Additionally, I unified code
of these three related command handlers.

Details

Provenance
machniakAuthored on Mar 7 2016, 3:00 PM
machniakPushed on Mar 7 2016, 3:00 PM
Parents
rSe5ccfa78e81d: Revert "Merge branch 'master' of ssh://git.kolab.org/diffusion/KS"
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3071
Build 3034: Continuous Integration for Software Development Projects