6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/4/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9153] BYTEA DB escaping for postgres driver
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ . ..___. . [__)| \|_/ [__ |\/| | \|__/| \| | |
Comment
> I observe the same problem: > > if I try to synchronize Outlook(2007)-Contacts using Funambol > with Horde 4.0.6, turba 3.0.3 and postgresql-8.4. It works OK, as > long as the Outlook-contacts do not contain photo-entries. If any of > the contacts contains a photo, the described error occurs. This is > also reproducable with iPhone and Funambol. > > The problem seems to be the use of the function binaryToString > (located in /usr/share/php/Horde/Db/Adapter/Postgresql/Column.php), > which, as far as I understand the code, converts a bytea-array into > an 8bit-character-string. > > I think in this case (storing of photo-data into postgresql) the > conversion has to be reversed, from 8-bit-data to bytea-array, but > such a function seems to be missing. > > Many thanks in advance for a review of this matter, > Andreas
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers