6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2789] pgsql session handler isn't binary safe
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. .. .\ /.__. [__ | |\ / >< | | [___|__| \/ / \|__\
Comment
> The pgsql session handler isn't binary safe. The horde_sessionhandler > table defines session_data as a text field. Imp inserts null > characters, which cause the session to be read back incorrectly, > effectively causing the in-progress session to be trashed and > restarted. > > > > The attached patch applies against HEAD. It does a bin2hex() before > session data is inserted in pgsql.php:write() and a pack("H*", ...) > before the session data is returned in pgsql.php:read(). > > > > With this fix postgres sessions are working for all of the > applications I have installed (imp, nag, turba, kronolith, gollem). > > > > The real fix is probably to fix the horde_sessionhandler table to use > a byte array data type.
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