6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9263] Problems with serialized arrays stored in a MySQL DB
*
Your Email Address
*
Spam protection
Enter the letters below:
__ . .__..__..__ / `| [__][__][__) \__.|___| || ||
Comment
> Dear Jan, > > I've added something like > $string = preg_replace('!s:(\d+):"(.*?)";!se', > "'s:'.strlen('$2').':\"$2\";'", $string); > > before each occurence of unseralize in Horde's code. Now each > serialized array gets correctly unserialized. > > Wouldn't it be possible to add a helper function horde_unserialize as > a wrapper for the php unserialize function which does sanitize the > returned serialized arrays from the database tables? I'm wondering > why no other people out there were running into this issue if they > use opensuse. > > Best regards, > Steffen
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