Summary | Broken session data reading in MSSQL |
Queue | Horde Base |
Queue Version | 3.3.5 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | selsky (at) columbia (dot) edu |
Requester | moreda (at) allenta (dot) com |
Created | 09/23/2009 (5777 days ago) |
Due | |
Updated | 09/25/2009 (5775 days ago) |
Assigned | |
Resolved | 09/25/2009 (5775 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 3.3.6 |
Patch | Yes |
Bug: 8599BFN
http://cvs.horde.org/diff.php/horde/docs/CHANGES?rt=horde&r1=1.1261&r2=1.1262&ty=u
State ⇒ Resolved
Milestone ⇒ 3.3.6
MFH: 1.54
Bug: 8599Submitted by: moreda@allenta.com
http://cvs.horde.org/diff.php/framework/SQL/SQL.php?rt=horde&r1=1.30.2.21&r2=1.30.2.22&ty=u
Pack data in readBlob() for mssql too.
Bug: 8599Submitted by: moreda@allenta.com
http://cvs.horde.org/diff.php/framework/SQL/SQL.php?rt=horde&r1=1.53&r2=1.54&ty=u
Priority ⇒ 2. Medium
New Attachment: fix-decoding-of-mssql-session-data.diff
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ Broken session data reading in MSSQL
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Horde Base
abstraction layer.
In lib/Horde/SQL.php there are two functions (insertBlob and
upadteBlob) where session data is coded using bin2hex() to update the
session_data field in the case of pgsql and mssql "dbsyntax" . In the
complementary readBlob function there is no proper decoding for mssql
"dbsyntax".
See trivial patch attached.