[Tickets #8599] Broken session data reading in MSSQL

bugs at horde.org bugs at horde.org
Wed Sep 23 17:07:25 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8599
------------------------------------------------------------------------------
  Ticket             | 8599
  Created By         | moreda at allenta.com
  Summary            | Broken session data reading in MSSQL
  Queue              | Horde Base
  Version            | 3.3.5
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | fix-decoding-of-mssql-session-data.diff
------------------------------------------------------------------------------


moreda at allenta.com (2009-09-23 13:07) wrote:

I'm using MSSQL to store session information through PEAR's DB  
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.







More information about the bugs mailing list