[cvs] commit: framework/Identity Identity.php framework/Prefs
Prefs.php framework/Prefs/Prefs sql.php
Jan Schneider
jan at horde.org
Tue Aug 24 03:25:57 PDT 2004
jan 2004-08-24 03:25:57 PDT
Modified files:
Identity Identity.php
Prefs Prefs.php
Prefs/Prefs sql.php
Log:
Don't convert charset of prefs when storing them into the backend but keep
them already converted in the prefs cache.
This is necessary for example for serialized data like identities. When we
retrieved such prefs with another charset than we used to store them, the
conversion happened on the serialized string, breaking the unserialization
because the string lengths were not correct anymore.
Code that needs to store serialized data can now do the conversion itself,
serialize the data and then store it while telling the prefs backend to *not*
convert it automatically.
Revision Changes Path
1.45 +9 -7 framework/Identity/Identity.php
1.135 +57 -14 framework/Prefs/Prefs.php
1.90 +32 -28 framework/Prefs/Prefs/sql.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Identity/Identity.php?r1=1.44&r2=1.45&ty=u
http://cvs.horde.org/diff.php/framework/Prefs/Prefs.php?r1=1.134&r2=1.135&ty=u
http://cvs.horde.org/diff.php/framework/Prefs/Prefs/sql.php?r1=1.89&r2=1.90&ty=u
More information about the cvs
mailing list