<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Cyrus IMAP server does not support extended search with charset/suhosin broken</title> 
  <pubDate>Fri, 10 Apr 2026 19:46:45 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9842</link> 
  <atom:link rel="self" type="application/rss+xml" title="Cyrus IMAP server does not support extended search with charset/suhosin broken" href="https://bugs.horde.org/ticket/9842/rss" /> 
  <description>Cyrus IMAP server does not support extended search with charset/suhosin broken</description> 
 
   
   
  <item> 
   <title>I am using latest Horde 4 with latest IMP 5. Search doesn&#039;t </title> 
   <description>I am using latest Horde 4 with latest IMP 5. Search doesn&#039;t work at all no matter what 
option I choose. I try it in IMP and in DIMP. Search returns all messages everytime.
latest Horde 3 with Imp 4 works great with the same settings.
</description> 
   <pubDate>Fri, 08 Apr 2011 10:01:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63310</link> 
  </item> 
   
  <item> 
   <title>It works for everyone else, so at a minimum you will need to</title> 
   <description>It works for everyone else, so at a minimum you will need to provide an IMAP log.

-----

To further debug this issue, we need details of the IMP -&gt; IMAP/POP communication.

To enable debugging, see instructions contained in imp/config/backends.php (the &#039;debug&#039; config parameter).  

Debugging should not be enabled on a production server,   Attach/post only the portion of the log that directly deals with the problem reported (it may be simplest to clear the log file and then perform the event that causes the error).</description> 
   <pubDate>Fri, 08 Apr 2011 18:11:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63346</link> 
  </item> 
   
  <item> 
   <title>I am attaching imap log. I made mailbox with two messages. I</title> 
   <description>I am attaching imap log. I made mailbox with two messages. I made query which should return just one message. I returns both.
Thank you for your reply.
</description> 
   <pubDate>Fri, 08 Apr 2011 19:57:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63362</link> 
  </item> 
   
  <item> 
   <title>&gt; I am attaching imap log. I made mailbox with two messages.</title> 
   <description>&gt; I am attaching imap log. I made mailbox with two messages. I made 
&gt; query which should return just one message. I returns both.
&gt; Thank you for your reply.

Nothing is being searched for there.

How exactly can you reproduce - e.g. what view (dynamic/traditional/mobile), what page, etc.
</description> 
   <pubDate>Fri, 08 Apr 2011 20:13:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63366</link> 
  </item> 
   
  <item> 
   <title>I logged in Horde -&gt; IMP -&gt; then I went into advanced search</title> 
   <description>I logged in Horde -&gt; IMP -&gt; then I went into advanced search (simple search not working too) and insert simple search in From field in Inbox folder. Result is all messages.:-(</description> 
   <pubDate>Sat, 09 Apr 2011 19:25:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63391</link> 
  </item> 
   
  <item> 
   <title>IMAP search is broken for me, too.
Using current Horde 4.0,</title> 
   <description>IMAP search is broken for me, too.
Using current Horde 4.0, IMP 5.0, cyrus imapd 2.2.13

Neither the imp debug log nor the protocol log of cyrus imapd show any sign of the search commands. Seems they are not issued at all.

my ./imp/config/backends.local.php
$servers[&#039;imap&#039;] = array( 
    &#039;disabled&#039; =&gt; false, 
    &#039;name&#039; =&gt; &#039;duff IMAP&#039;, 
    &#039;hostspec&#039; =&gt; &#039;localhost&#039;, 
    &#039;hordeauth&#039; =&gt; true, 
    &#039;protocol&#039; =&gt; &#039;imap&#039;, 
    &#039;port&#039; =&gt; 143, 
    &#039;secure&#039; =&gt; false, 
    &#039;maildomain&#039; =&gt; &#039;&#039;, 
    &#039;acl&#039; =&gt; true, 
    &#039;cache&#039; =&gt; true, 
    //&#039;debug&#039; =&gt; &#039;/tmp/mail4.log&#039;, 
    //&#039;debug_raw&#039; =&gt; true, 
); 
</description> 
   <pubDate>Sun, 10 Apr 2011 14:51:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63412</link> 
  </item> 
   
  <item> 
   <title>forgot to tell: that&#039;s true for all search forms I found as </title> 
   <description>forgot to tell: that&#039;s true for all search forms I found as well as for dynview and traditional view (dont know about mobile ones)</description> 
   <pubDate>Sun, 10 Apr 2011 14:53:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63413</link> 
  </item> 
   
  <item> 
   <title>&gt; forgot to tell: that&#039;s true for all search forms I found a</title> 
   <description>&gt; forgot to tell: that&#039;s true for all search forms I found as well as 
&gt; for dynview and traditional view (dont know about mobile ones)

What browser are you using?</description> 
   <pubDate>Mon, 11 Apr 2011 06:29:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63457</link> 
  </item> 
   
  <item> 
   <title>&gt; What browser are you using?

Safari 5 and FF4 on MacOS</title> 
   <description>&gt; What browser are you using?

Safari 5 and FF4 on MacOS</description> 
   <pubDate>Mon, 11 Apr 2011 07:17:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63461</link> 
  </item> 
   
  <item> 
   <title>&gt; What browser are you using?

Iam using chrome and firefo</title> 
   <description>&gt; What browser are you using?

Iam using chrome and firefox under ubuntu and fedora.
</description> 
   <pubDate>Mon, 11 Apr 2011 12:42:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63467</link> 
  </item> 
   
  <item> 
   <title>What is the URL of your search page?  It should look somethi</title> 
   <description>What is the URL of your search page?  It should look something like:

[...]/horde/imp/mailbox.php?mailbox=impsearch%00impbsearch</description> 
   <pubDate>Mon, 11 Apr 2011 20:07:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63512</link> 
  </item> 
   
  <item> 
   <title>&gt; What is the URL of your search page?  It should look somet</title> 
   <description>&gt; What is the URL of your search page?  It should look something like:
&gt;
&gt; [...]/horde/imp/mailbox.php?mailbox=impsearch%00impbsearch

/beta/imp/mailbox.php?mailbox=impsearch%00lJNSYRiV5G1No_BwtrJCIcA
</description> 
   <pubDate>Tue, 12 Apr 2011 05:21:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63522</link> 
  </item> 
   
  <item> 
   <title>Same here as well.  Cyrus 2.4.7 with firefox 3, 4, chrome, a</title> 
   <description>Same here as well.  Cyrus 2.4.7 with firefox 3, 4, chrome, and safari on mac 10.6.7.

Upon searching in traditional interface, I land at url:

https://webmail.xyz.com/imp/mailbox.php?mailbox=impsearch%00OBeSBUt1iUdNo-sg5QESIHA

and 3 times at the top I see errors:
Mailbox listing failed: Bad IMAP request: Invalid Search criteria

cheers,
-scott</description> 
   <pubDate>Tue, 12 Apr 2011 07:12:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63525</link> 
  </item> 
   
  <item> 
   <title>&gt; and 3 times at the top I see errors:
&gt; Mailbox listing fa</title> 
   <description>&gt; and 3 times at the top I see errors:
&gt; Mailbox listing failed: Bad IMAP request: Invalid Search criteria

Can you provide imap logs? (see previous entries for instructions on how to do this)  We might be getting somewhere here ... &#039;Invalid Search criteria&#039; appears nowhere in the Horde codebase so it MUST be something that is returned from the IMAP server.</description> 
   <pubDate>Tue, 12 Apr 2011 08:19:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63528</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; and 3 times at the top I see errors:
&gt;&gt; Mailbox listing </title> 
   <description>&gt;&gt; and 3 times at the top I see errors:
&gt;&gt; Mailbox listing failed: Bad IMAP request: Invalid Search criteria
&gt;
&gt; Can you provide imap logs? (see previous entries for instructions on 
&gt; how to do this)  We might be getting somewhere here ... &#039;Invalid 
&gt; Search criteria&#039; appears nowhere in the Horde codebase so it MUST be 
&gt; something that is returned from the IMAP server.

The imap log is attached.  I have snipped (marked with &lt;snip&gt; ) a lengthly list of mailboxes out of the log, as well as changed user ids&#039;s but nothing else has been changed.  I do see the Invalid Search Criteria in here so hopefully it helps!

Thanks!
</description> 
   <pubDate>Wed, 13 Apr 2011 04:03:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63590</link> 
  </item> 
   
  <item> 
   <title>Your IMAP server is broken.  Your server (Cyrus 2.4.7) adver</title> 
   <description>Your IMAP server is broken.  Your server (Cyrus 2.4.7) advertises that it supports ESEARCH (RFC 4731).  Thus we send an extended search command, but the IMAP server is telling us it is bad:

(1302667094.7783) C: 5 UID SEARCH RETURN (ALL COUNT) CHARSET UTF-8 FROM horde
(1302667094.7785) S: 5 BAD Invalid Search criteria

However, there&#039;s nothing wrong with that search command.  Here&#039;s what it looks like when I run it on a dovecot installation:

5 UID SEARCH RETURN (ALL COUNT) CHARSET UTF-8 FROM horde
* ESEARCH (TAG &quot;5&quot;) UID COUNT 0
5 OK Search completed (0.031 secs).

It&#039;s not a charset issue since the server must return a NO response rather than a BAD response (and it should return a BADCHARSET response also).

Jan, I think you run Cyrus.  Are you running 2.4.7?  Can you verify that this command works (or is broken) on your installation?</description> 
   <pubDate>Wed, 13 Apr 2011 04:35:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63595</link> 
  </item> 
   
  <item> 
   <title>&gt; Your IMAP server is broken.  Your server (Cyrus 2.4.7) adv</title> 
   <description>&gt; Your IMAP server is broken.  Your server (Cyrus 2.4.7) advertises 
&gt; that it supports ESEARCH (RFC 4731).  Thus we send an extended search 
&gt; command, but the IMAP server is telling us it is bad:
&gt;
&gt; (1302667094.7783) C: 5 UID SEARCH RETURN (ALL COUNT) CHARSET UTF-8 FROM horde
&gt; (1302667094.7785) S: 5 BAD Invalid Search criteria
&gt;
&gt; However, there&#039;s nothing wrong with that search command.  Here&#039;s what 
&gt; it looks like when I run it on a dovecot installation:
&gt;
&gt; 5 UID SEARCH RETURN (ALL COUNT) CHARSET UTF-8 FROM horde
&gt; * ESEARCH (TAG &quot;5&quot;) UID COUNT 0
&gt; 5 OK Search completed (0.031 secs).
&gt;
&gt; It&#039;s not a charset issue since the server must return a NO response 
&gt; rather than a BAD response (and it should return a BADCHARSET 
&gt; response also).
&gt;
&gt; Jan, I think you run Cyrus.  Are you running 2.4.7?  Can you verify 
&gt; that this command works (or is broken) on your installation?

Thanks for looking at the log.  Strangely, other clients, including the previous version of horde (I think H3? over a year+ old)  appear to work fine with imap search.  I am not sure if they are searching in the same manner or not, but definitely performing successful imap search against cyrus 2.4.7, but will see if I can get a log.


</description> 
   <pubDate>Wed, 13 Apr 2011 04:45:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63596</link> 
  </item> 
   
  <item> 
   <title>&gt; Thanks for looking at the log.  Strangely, other clients, </title> 
   <description>&gt; Thanks for looking at the log.  Strangely, other clients, including 
&gt; the previous version of horde (I think H3? over a year+ old)  appear 
&gt; to work fine with imap search.  I am not sure if they are searching 
&gt; in the same manner or not, but definitely performing successful imap 
&gt; search against cyrus 2.4.7, but will see if I can get a log.

Older versions of IMP (and other clients) are probably not sending extended search commands.</description> 
   <pubDate>Wed, 13 Apr 2011 04:54:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63597</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Thanks for looking at the log.  Strangely, other clients,</title> 
   <description>&gt;&gt; Thanks for looking at the log.  Strangely, other clients, including
&gt;&gt; the previous version of horde (I think H3? over a year+ old)  appear
&gt;&gt; to work fine with imap search.  I am not sure if they are searching
&gt;&gt; in the same manner or not, but definitely performing successful imap
&gt;&gt; search against cyrus 2.4.7, but will see if I can get a log.
&gt;
&gt; Older versions of IMP (and other clients) are probably not sending 
&gt; extended search commands.

Ok, making some progress by spying on another client that its working with, then duplicating results in telnet.  here is a paste of my telnet session:

Working: (no charset)
-------------------------------
. SEARCH RETURN (ALL COUNT) FROM horde
* ESEARCH (TAG &quot;.&quot;) ALL 380,766,1051,1300:1301,1303,1927:1928,3102:3103,4880,4900,4921,4923,5722,5749,5757,6051:6052,22753,22778,22782,22788,22796:22799 COUNT 27
. OK Completed (27 msgs in 0.060 secs)


Working w/ charset:
----------------------------------
. SEARCH CHARSET UTF-8 RETURN (ALL COUNT) FROM horde
* ESEARCH (TAG &quot;.&quot;) ALL 380,766,1051,1300:1301,1303,1927:1928,3102:3103,4880,4900,4921,4923,5722,5749,5757,6051:6052,22753,22778,22782,22788,22796:22799 COUNT 27
. OK Completed (27 msgs in 0.060 secs)

Broken in imp:
--------------------------------------------------
. SEARCH RETURN (ALL COUNT) CHARSET UTF-8 FROM horde
. BAD Invalid Search criteria

So it appears the order of the CHARSET option.  Not sure if a cyrus specific workaround is needed or if this how its supposed to be.  Every mention of charset in this paper shows it at the beginning: http://www.faqs.org/rfcs/rfc5182.html

Thanks!</description> 
   <pubDate>Wed, 13 Apr 2011 05:12:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63600</link> 
  </item> 
   
  <item> 
   <title>&gt; Working w/ charset:
&gt; ----------------------------------</title> 
   <description>&gt; Working w/ charset:
&gt; ----------------------------------
&gt; . SEARCH CHARSET UTF-8 RETURN (ALL COUNT) FROM horde
&gt; * ESEARCH (TAG &quot;.&quot;) ALL 

This is flat-out wrong.  Pursuant to RFC 4466 [2.6.1], the order of the arguments goes as follows:

   Arguments:  OPTIONAL result specifier
               OPTIONAL [CHARSET] specification
               searching criteria (one or more)

&gt; So it appears the order of the CHARSET option.  Not sure if a cyrus 
&gt; specific workaround is needed or if this how its supposed to be.  
&gt; Every mention of charset in this paper shows it at the beginning: 
&gt; http://www.faqs.org/rfcs/rfc5182.html

That&#039;s because RFC 5182 is not using the optional result specifier argument.

Sure enough, this is a Cyrus bug:
http://bugzilla.cyrusimap.org/bugzilla3/show_bug.cgi?id=3435
</description> 
   <pubDate>Wed, 13 Apr 2011 05:35:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63601</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9842: P</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9842: Possible workaround for broken Cyrus IMAP behavior

 1 files changed, 14 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/d2b5777a18dd8b740de9cb2a43b34f3e9ad2dbf2</description> 
   <pubDate>Wed, 13 Apr 2011 06:08:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63603</link> 
  </item> 
   
  <item> 
   <title>See if this fixes things.</title> 
   <description>See if this fixes things.</description> 
   <pubDate>Wed, 13 Apr 2011 06:09:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63604</link> 
  </item> 
   
  <item> 
   <title>&gt; See if this fixes things.

It sure does.  Thanks a milli</title> 
   <description>&gt; See if this fixes things.

It sure does.  Thanks a million!  Will keep an eye out for cyrus 2.4.8 as well :)

cheers!
</description> 
   <pubDate>Wed, 13 Apr 2011 06:12:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63605</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9842: W</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9842: Work around broken ESEARCH on Cyrus

 2 files changed, 5 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/a8c5884b2ec30eed062f614c360901666a356345</description> 
   <pubDate>Wed, 13 Apr 2011 06:27:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63609</link> 
  </item> 
   
  <item> 
   <title>It is not working for me. I am using Dovecot Imap server. Ma</title> 
   <description>It is not working for me. I am using Dovecot Imap server. May you please help me?</description> 
   <pubDate>Wed, 13 Apr 2011 06:27:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63610</link> 
  </item> 
   
  <item> 
   <title>&gt; It is not working for me. I am using Dovecot Imap server. </title> 
   <description>&gt; It is not working for me. I am using Dovecot Imap server. May you 
&gt; please help me?

I have no idea.  You will need to debug yourself to determine what is wrong because no developers can reproduce.

I would focus on search-basic.php since it is much simpler than the advanced search.  Perform a simple search and track some variables using Horde::debug() (see instructions below).

I would like to see the debug results for $vars (put Horde::debug($vars) on line 77 of search-basic.php), $q_ob (put Horde::debug($q_ob) on line 84 of search-basic.php), and $imp_search (put Horde::debug($imp_search) on line 55 of mailbox.php).

Horde::debug() documentation: http://wiki.horde.org/Doc/Dev/DebugH4</description> 
   <pubDate>Wed, 13 Apr 2011 06:39:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63612</link> 
  </item> 
   
  <item> 
   <title>&gt; I would like to see the debug results for $vars (put 
&gt; H</title> 
   <description>&gt; I would like to see the debug results for $vars (put 
&gt; Horde::debug($vars) on line 77 of search-basic.php), $q_ob (put 
&gt; Horde::debug($q_ob) on line 84 of search-basic.php), and $imp_search 
&gt; (put Horde::debug($imp_search) on line 55 of mailbox.php).

I am attaching log</description> 
   <pubDate>Wed, 13 Apr 2011 07:33:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63616</link> 
  </item> 
   
  <item> 
   <title>The IMAP search is still not working for me. The result page</title> 
   <description>The IMAP search is still not working for me. The result page is the same mailbox again, with search icon and all the mails.

Although I use a cyrus 2.2.13 without the ESEARCH, I patched Socket.php
(CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE XIMAPPROXY)

I attached the log for $vars, $q_ob and $imp_search for a simple search for Subject &#039;XXX&#039; on INBOX.</description> 
   <pubDate>Wed, 13 Apr 2011 18:05:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63659</link> 
  </item> 
   
  <item> 
   <title>Unfortunately, this tells me nothing other than the search i</title> 
   <description>Unfortunately, this tells me nothing other than the search is successfully being stored in the session.  Which is what is expected.

What does the mailbox look like after you perform the search.  Does it say Search Results at the top?  Or does it say INBOX (or some other mailbox)?

A Horde::debug(IMP::$mailbox) on line 55 of imp/mailbox.php would be useful.</description> 
   <pubDate>Wed, 13 Apr 2011 20:56:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63685</link> 
  </item> 
   
  <item> 
   <title>&gt; What does the mailbox look like after you perform the sear</title> 
   <description>&gt; What does the mailbox look like after you perform the search.  Does 
&gt; it say Search Results at the top?  Or does it say INBOX (or some 
&gt; other mailbox)?

Mail :: Inbox, it&#039;s the normal INBOX without any sign of the search.

&gt; A Horde::debug(IMP::$mailbox) on line 55 of imp/mailbox.php would be useful.

2011-04-13T23:17:17+02:00 DEBUG: Variable information:
object(IMP_Mailbox)#112 (2) {
  [&quot;_cache&quot;:protected]=&gt;
  array(0) {
  }
  [&quot;_mbox&quot;:protected]=&gt;
  string(5) &quot;INBOX&quot;
}

Backtrace:
1. Horde::debug() /var/www/h4/imp/mailbox.php:55
</description> 
   <pubDate>Wed, 13 Apr 2011 21:20:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63686</link> 
  </item> 
   
  <item> 
   <title>Now we&#039;re getting somewhere.  Looks like your server is mung</title> 
   <description>Now we&#039;re getting somewhere.  Looks like your server is munging the URL parameters somehow.

Now we need a Horde::debug($vars) on line 55 of mailbox.php.  And for good measure, put a Horde::debug($_REQUEST) on the line after that.</description> 
   <pubDate>Wed, 13 Apr 2011 21:59:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63689</link> 
  </item> 
   
  <item> 
   <title>&gt; Now we need a Horde::debug($vars) on line 55 of mailbox.ph</title> 
   <description>&gt; Now we need a Horde::debug($vars) on line 55 of mailbox.php.  And for 
&gt; good measure, put a Horde::debug($_REQUEST) on the line after that.

&lt;516&gt; root@duff/tmp/h4# less horde_debug.txt 

2011-04-14T00:41:21+02:00 DEBUG: Variable information:
object(Horde_Variables)#231 (3) {
  [&quot;_vars&quot;:protected]=&gt;
  array(7) {
    [&quot;horde_sidebar_expanded&quot;]=&gt;
    string(1) &quot;0&quot;
    [&quot;horde_menu_expanded&quot;]=&gt;
    string(21) &quot;expimp,administration&quot;
    [&quot;imp_key&quot;]=&gt;
    string(32) &quot;c6ad08b2e81994328a077e2962a2741a&quot;
    [&quot;default_horde_view&quot;]=&gt;
    string(11) &quot;traditional&quot;
    [&quot;Horde4&quot;]=&gt;
    string(32) &quot;c6ad08b2e81994328a077e2962a2741a&quot;
    [&quot;auth_key&quot;]=&gt;
    string(23) &quot;18847229984da5c8a601048&quot;
    [&quot;SESSc0d2b4ced4b5e9b5a4f261e22dcfe7ba&quot;]=&gt;
    string(32) &quot;08db564168fd858ea6bcd95cd5bbb32a&quot;
  }
  [&quot;_expectedVariables&quot;:protected]=&gt;
  array(0) {
  }
  [&quot;_sanitized&quot;:protected]=&gt;
  bool(false)
}

Backtrace:
1. Horde::debug() /var/www/h4/imp/mailbox.php:55

2011-04-14T00:41:21+02:00 DEBUG: Variable information:
array(7) {
  [&quot;horde_sidebar_expanded&quot;]=&gt;
  string(1) &quot;0&quot;
  [&quot;horde_menu_expanded&quot;]=&gt;
  string(21) &quot;expimp,administration&quot;
  [&quot;imp_key&quot;]=&gt;
  string(32) &quot;c6ad08b2e81994328a077e2962a2741a&quot;
  [&quot;default_horde_view&quot;]=&gt;
  string(11) &quot;traditional&quot;
  [&quot;Horde4&quot;]=&gt;
  string(32) &quot;c6ad08b2e81994328a077e2962a2741a&quot;
  [&quot;auth_key&quot;]=&gt;
  string(23) &quot;18847229984da5c8a601048&quot;
  [&quot;SESSc0d2b4ced4b5e9b5a4f261e22dcfe7ba&quot;]=&gt;
  string(32) &quot;08db564168fd858ea6bcd95cd5bbb32a&quot;
}

Backtrace:
1. Horde::debug() /var/www/h4/imp/mailbox.php:56
</description> 
   <pubDate>Wed, 13 Apr 2011 22:46:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63693</link> 
  </item> 
   
  <item> 
   <title>&gt; 2011-04-14T00:41:21+02:00 DEBUG: Variable information:

</title> 
   <description>&gt; 2011-04-14T00:41:21+02:00 DEBUG: Variable information:

And there&#039;s your problem.  The mailbox entry is nowhere to be found.  Either your PHP or web server is incorrectly munging the URL parameter data.

What version of PHP are you using?  You wouldn&#039;t happen to be using something like suhosin either?</description> 
   <pubDate>Thu, 14 Apr 2011 18:40:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63756</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; 2011-04-14T00:41:21+02:00 DEBUG: Variable information:
&gt;</title> 
   <description>&gt;&gt; 2011-04-14T00:41:21+02:00 DEBUG: Variable information:
&gt;
&gt; And there&#039;s your problem.  The mailbox entry is nowhere to be found.  
&gt; Either your PHP or web server is incorrectly munging the URL 
&gt; parameter data.
&gt;
&gt; What version of PHP are you using?  You wouldn&#039;t happen to be using 
&gt; something like suhosin either?

That is true.. I disabled suhosin and everything is working:-)
Is there something to do to able working with suhosin?
Where is the problem?
Thank you for your time
</description> 
   <pubDate>Thu, 14 Apr 2011 19:40:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63765</link> 
  </item> 
   
  <item> 
   <title>&gt; That is true.. I disabled suhosin and everything is workin</title> 
   <description>&gt; That is true.. I disabled suhosin and everything is working:-)
&gt; Is there something to do to able working with suhosin?
&gt; Where is the problem?
&gt; Thank you for your time

Ugh.  Suhosin sucks then.  Apparently it feels it is a security threat to have a null character in URL parameters, even though it is perfectly permissible.  I&#039;m not sure there is anything we can do about this other than to say IMP does not work with suhosin.</description> 
   <pubDate>Thu, 14 Apr 2011 19:51:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63767</link> 
  </item> 
   
  <item> 
   <title>Did you use the Suhosin extension or the patch? The extensio</title> 
   <description>Did you use the Suhosin extension or the patch? The extension already caused other problems in the past, so I don&#039;t have any problem with discouraging its usage altogether.</description> 
   <pubDate>Thu, 14 Apr 2011 22:19:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63772</link> 
  </item> 
   
  <item> 
   <title>My PHP 5.3.3 (debian) is suhosin patched AND had the suhosin</title> 
   <description>My PHP 5.3.3 (debian) is suhosin patched AND had the suhosin extension. Without the extension, IMAP search does work now.

Thanks for the hint!</description> 
   <pubDate>Fri, 15 Apr 2011 09:04:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63790</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9842: I</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9842: IMP 5 will not work with broken suhosin extension

 1 files changed, 5 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/63ba95c6b2027fc7995ec122ad200c33bbbeaa80</description> 
   <pubDate>Fri, 15 Apr 2011 17:43:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t63802</link> 
  </item> 
   
  <item> 
   <title>Unfortunately, it appears that debian may ship PHP by defaul</title> 
   <description>Unfortunately, it appears that debian may ship PHP by default with suhosin.  Which is stupid but whatever.  (The benefits of suhosin (are there any?) are entirely debatable.  Completely breaking functionality, in the name of quote security unquote, is not a valid solution.  But I guess you throw the security term around and people will pick up on it as a buzz word so they will use your product, no matter what it actually does.  Off soapbox).

So to avoid IMP being broken on all debian servers by default, and to work around this issue, we will instead always pass around the mailbox in form data (both POST and GET) as base64url encoded.  I have locally fixed this and will commit to the develop branch (or a imp 5.1 topic branch) as soon as I am finished testing/squashing all the bugs.</description> 
   <pubDate>Wed, 18 May 2011 05:52:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t64755</link> 
  </item> 
   
  <item> 
   <title>Changing milestone.  Will commit to master once 5.0.4 is rel</title> 
   <description>Changing milestone.  Will commit to master once 5.0.4 is released.</description> 
   <pubDate>Mon, 23 May 2011 19:08:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t64987</link> 
  </item> 
   
  <item> 
   <title>Unless I&#039;m missing something, you *did* already commit this.</title> 
   <description>Unless I&#039;m missing something, you *did* already commit this. At least my URL hashes in DIMP are all encoded since a few days now.</description> 
   <pubDate>Mon, 23 May 2011 20:07:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t64989</link> 
  </item> 
   
  <item> 
   <title>No.  I committed a prior patch to the imp_5_1 branch, but th</title> 
   <description>No.  I committed a prior patch to the imp_5_1 branch, but then deleted the branch.  I don&#039;t really understand the concept of the develop branch at this time, so I did not repush there.

What you are probably seeing is base64url encoding of dimp&#039;s hash (breadcrumb) information.  But this has nothing to do with encoding mailbox names in form data/url links.</description> 
   <pubDate>Mon, 23 May 2011 20:18:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t64990</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9842: B</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9842: Base64url encode mailbox names in form data

 22 files changed, 152 insertions(+), 122 deletions(-)
http://git.horde.org/horde-git/-/commit/32c3fac7b3a089cd7914cfdd7578d5e8775f0d15</description> 
   <pubDate>Wed, 25 May 2011 16:28:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9842#t65072</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
