diff options
author | Steven Day <steve@mysociety.org> | 2015-06-26 12:56:44 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-10-06 09:09:27 +0100 |
commit | a3b1269d17bcaeeabba5d81f92f8b7b2521a0fcb (patch) | |
tree | 94f2b51908955fd02110eecfe13e8c0fd7d40ffa /t/cobrand/zurich.t | |
parent | 91dd9efadc255c240b13e7b26b69426ed5139ab9 (diff) |
Base 64 decode uploaded images if required
The new Zurich app has to base64 encode some images into a multipart
request so that it can (ab)use Phonegap's FileTransfer plugin to send
more than one image in a single request to /report/new/mobile.
Catalyst's Request::Upload module doesn't look at the
Content-Transfer-Encoding header inside multipart requests to do
this automatically, so we perform the decoding manually when we
process the images in the PhotoSet model.
Diffstat (limited to 't/cobrand/zurich.t')
0 files changed, 0 insertions, 0 deletions