[Tickets #1161] RESOLVED: Error in utf7-imap parsing when building folder tree

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Mar 17 04:56:27 PST 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=1161
-----------------------------------------------------------------------
 Ticket             | 1161
 Updated By         | jacob-horde at vindvejr.dk
 Summary            | Error in utf7-imap parsing when building folder tree
 Queue              | IMP
 Version            | 4.0.1
 State              | Stalled
 Priority           | 2. Medium
 Type               | Bug
 Owners             | Horde Developers, Jan Schneider
-----------------------------------------------------------------------


jacob-horde at vindvejr.dk (2006-03-17 04:56) wrote:

There's another problem: The compose window can't be opened from the folder
of same name, because of the ':

javascript:open_compose_win('thismailbox=INBOX.Caf%26AOk--du-ve%27+Forever')
;

Seen in the browser as:
javascript:open_compose_win('thismailbox=INBOX.Caf%26AOk--du-ve'+Forever');

Looks like ' isn't escaped correctly for the JavaScript to work.

Anyway, back to the original problem. My PHP and imap/c-client:

archive md5sum
imap-2004g.tar.Z 9a80f58d8d6a0979c13714ae69050020
php-4.4.2.tar.bz2 28051cd9ef43490dd9727a4d442011b5

imap is built with "make slx" - no other options. PHP is configured like
this:

./configure --with-mysql=/usr/local/mysql \
        --with-apxs=/usr/local/apache/bin/apxs \
        --with-zlib \
        --enable-exif \
        --with-gd \
        --with-jpeg-dir=/usr/src/jpeg \
        --with-gettext \
        --with-imap=/usr/src/imap \
        --with-imap-ssl \
        --with-xml \
        --with-dom

So I think it's a pretty basic/standard setup. Any suggestions what I should
try to change? I can try to have a look at imap_utf7_encode() and see which
system dependencies it has. But I still wonder why the problem doesn't show
for the folder list in IMP. Is imap_utf7_encode() used in exactly the same
way? I'll have another look, perhaps this weekend.

A friend of mine is using PHP 4.4.1 and imap2004g also, without any
problems. I just can't spot the one important difference in our setups.

Kind regards,
 Jacob Laursen





More information about the bugs mailing list