HomePhorge

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

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, 2:00 PM
mollekopfPushed on Aug 21 2023, 6:45 PM
Parents
R4:e5ccfa78e81d: Revert "Merge branch 'master' of ssh://git.kolab.org/diffusion/KS"
Branches
Unknown
Tags
Unknown

Event Timeline