Skip to content

Commit

Permalink
Bug: 14199 Fix decoding of base64 encoded Kolab (.xml) objects
Browse files Browse the repository at this point in the history
Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
  • Loading branch information
sunweaver authored and mrubinsk committed Dec 28, 2015
1 parent 15ab2dc commit 4922efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Kolab_Storage/lib/Horde/Kolab/Storage/Object.php
Expand Up @@ -375,7 +375,7 @@ public function load($backend_id,
return;
}
$this->_mime_part_id = $result[0];
$mime_part->setContents($this->getContent());
$mime_part->setContents($this->getContent(), array('encoding' => '8bit'));
$result = $data->load($mime_part->getContents(array('stream' => true)), $this);
if ($result instanceof Exception) {
$this->addParseError(self::ERROR_INVALID_KOLAB_PART, $result->getMessage());
Expand Down

0 comments on commit 4922efa

Please sign in to comment.