[imp] horde_prefs max size

Vilius Šumskas vilius at lnk.lt
Fri Jun 15 12:59:57 UTC 2012


> One of our users just added a picture to his mail signature and broke
> his whole webmail that way. He was unable to login, falling back to the
> login page again.
> Luckily he could tell me that he just updated his signature before,
> adding a picture to it.
> The picture had something more then 67k in size, but the prefs_value
> field (blob) has only a maximum size of 65535 bytes. This resulted in a
> chunked php object that broke everything.
> 
> Shouldn't this be checked before writing it to the database ?

You can limit this in Horde -> Preference System configuration.

-- 
   Vilius



More information about the imp mailing list