[Tickets #9100] Re: corrupted turba photos
bugs at horde.org
bugs at horde.org
Wed Oct 13 21:31:28 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9100
------------------------------------------------------------------------------
Ticket | 9100
Updated By | thomas at trethan.net
Summary | corrupted turba photos
Queue | SyncML
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
thomas at trethan.net (2010-10-13 17:31) wrote:
I finally found the reason for this behaviour and managed to implement
a hack for solving it. The reasing is, that all turba data is encoded
utf-8 in the function tovCard() in lib/Driver.php. Photo and logo data
should not be encoded, therefore I added the following code in line
1280 before the data gets base64 encoded:
$val = utf8_decode($val);
I know this is just a quick hack, but it works. Hopefully someday
someone will implement a better solution. Since I'm not familiar with
the Horde developement process (CVS, GIT, etc), maybe someone could
add this line of code to the source, thanks.
More information about the bugs
mailing list