[Tickets #5792] Re: Notice: Uninitialized string offset: 0 in /usr/share/horde3/imp/lib/MIME/Viewer/plain.php on line 132

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Nov 30 09:14:54 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=5792
-----------------------------------------------------------------------
 Ticket             | 5792
 Updated By         | stefan at frech.ch
 Summary            | Notice: Uninitialized string offset: 0 in
                    | /usr/share/horde3/imp/lib/MIME/Viewer/plain.php on line 132
 Queue              | IMP
 Version            | 4.1.3
 Type               | Bug
 State              | Not A Bug
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


stefan at frech.ch (2007-11-30 01:14) wrote:

This bug does not depend on the message size. It also doesn't depend on the
c-client version (I experienced the same error with several different
c-clients compiled PHP modules). As far as I found out it depends on the
message content. Thus is actually _is_ a horde bug.

The Text_Filter always stumbles over the show/hide toggles for quote
blocks section in "lib/Horde/Text/Filter/highlightquotes.php". Most
probably the regex is faulty.

'/(\n)(( *(>\s?)+(?! ?>).*?)(\n|$)(?! *(> ?)+))/s'

Will keep you updated as soon as I found out more.

Stefan




More information about the bugs mailing list