<?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>IMP ACL - ACL capability may not be available until after login.</title> 
  <pubDate>Fri, 10 Apr 2026 11:23:07 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9058</link> 
  <atom:link rel="self" type="application/rss+xml" title="IMP ACL - ACL capability may not be available until after login." href="https://bugs.horde.org/ticket/9058/rss" /> 
  <description>IMP ACL - ACL capability may not be available until after login.</description> 
 
   
   
  <item> 
   <title>4.3.7: IMP H3 (4.3.7) Final does not work using comming dove</title> 
   <description>4.3.7: IMP H3 (4.3.7) Final does not work using comming dovecot version 2
using imap acls as tested

dovecot Timo Sirainen developer changed acl behavior, clients should be fixed

more info
http://dovecot.org/list/dovecot/2010-April/048147.html

slusarz@horde.org wrote


This works fine in IMP 5.  The problem with IMP 4 is that c-client doesn&#039;t support the CAPABILITY command so we have to use hackish ways to work around it.

You should open a ticket re: this issue on http://bugs.horde.org/


meanwhile as workaround i found
  
  horde/imp does a check which seems to get workarounded by
  
  horde/lib/Horde/IMAP/ACL/rfc2086.php
  
  if (substr($this- _params[&#039;protocol&#039;], 0, 4) != &#039;imap&#039;) {
              /* No point in going any further if it&#039;s not an IMAP server. */
              $this- _error = PEAR::raiseError(_(&quot;Only IMAP servers
  support shared folders.&quot;));
              $this- _supported = false;
          } elseif (!isset($this- _caps[&#039;acl&#039;])) {
              /* If we couldn&#039;t get the server&#039;s capability, we&#039;ll assume
  ACL is
                 not supported for now. */
  
  ----change---from---false---to---true
  
  $this- _supported = true;
  
  
  
          } else {
              $this- _supported = true;
          }
  
  the alternate workaround with dovecot
  is setting manual imap capability list
  didnt tested that yet
</description> 
   <pubDate>Wed, 26 May 2010 15:37:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t58973</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Bug: 9058
Ne</title> 
   <description>Changes have been made in CVS for this ticket:

Bug: 9058
Need to grab CAPABILITY string after login, since ACL does not need to be
broadcast pre-login.
http://cvs.horde.org/diff.php/framework/IMAP/Attic/package.xml?rt=horde&amp;r1=1.17.8.4&amp;r2=1.17.8.5&amp;ty=u
http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horde&amp;r1=1.6.8.20&amp;r2=1.6.8.21&amp;ty=u</description> 
   <pubDate>Thu, 03 Jun 2010 18:12:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59027</link> 
  </item> 
   
  <item> 
   <title>Try this.</title> 
   <description>Try this.</description> 
   <pubDate>Thu, 03 Jun 2010 18:12:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59028</link> 
  </item> 
   
  <item> 
   <title>This change broke the ACL driver completely. Variables are n</title> 
   <description>This change broke the ACL driver completely. Variables are not available anymore etc.</description> 
   <pubDate>Tue, 27 Jul 2010 17:43:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59452</link> 
  </item> 
   
  <item> 
   <title>&gt; This change broke the ACL driver completely. Variables are</title> 
   <description>&gt; This change broke the ACL driver completely. Variables are not 
&gt; available anymore etc.

I really don&#039;t understand what this means re: variables not available.</description> 
   <pubDate>Wed, 28 Jul 2010 06:07:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59472</link> 
  </item> 
   
  <item> 
   <title>Sorry, what I meant was that you moved code around to other </title> 
   <description>Sorry, what I meant was that you moved code around to other methods with the patch, and now a bunch of variables are undefinded because that had only been defined in the old places, like $authMech, $folder.</description> 
   <pubDate>Wed, 28 Jul 2010 08:43:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59475</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Bug: 9058
Fi</title> 
   <description>Changes have been made in CVS for this ticket:

Bug: 9058
Fix undefined variables
http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horde&amp;r1=1.6.8.21&amp;r2=1.6.8.22&amp;ty=u</description> 
   <pubDate>Wed, 28 Jul 2010 16:36:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59488</link> 
  </item> 
   
  <item> 
   <title>Try this.  It for sure fixes the usage of $authMech and shou</title> 
   <description>Try this.  It for sure fixes the usage of $authMech and should fix the $folder issue.  Unfortunately, I have no way of testing on a live IMAP system though.</description> 
   <pubDate>Wed, 28 Jul 2010 16:37:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59489</link> 
  </item> 
   
  <item> 
   <title>Getting closer. There is still:

( ! ) Warning: Missing ar</title> 
   <description>Getting closer. There is still:

( ! ) Warning: Missing argument 1 for _getcapability() in /srv/www/htdocs/horde/framework/IMAP/IMAP/ACL/rfc2086.php on line 218
Call Stack
#	Time	Memory	Function	Location
1	0.0014	62520	{main}( )	../prefs.php:0
2	0.2609	5651000	require( &#039;/srv/www/htdocs/horde/imp/acl.php&#039; )	../prefs.php:57
3	0.2697	5915544	imp_imap_acl::singleton( )	../acl.php:42
4	0.2698	5916096	imp_imap_acl::factory( )	../ACL.php:82
5	0.2737	6048288	imp_imap_acl_rfc2086-&gt;imp_imap_acl_rfc2086( )	../ACL.php:55
6	0.2737	6048376	imap_acl_rfc2086::imap_acl_rfc2086( )	../rfc2086.php:46
7	0.2737	6049344	imp_imap_acl_rfc2086-&gt;_getcapability( )	../rfc2086.php:77

( ! ) Notice: Undefined variable: txid in /srv/www/htdocs/horde/framework/IMAP/IMAP/ACL/rfc2086.php on line 478
Call Stack
#	Time	Memory	Function	Location
1	0.0014	62520	{main}( )	../prefs.php:0
2	0.2609	5651000	require( &#039;/srv/www/htdocs/horde/imp/acl.php&#039; )	../prefs.php:57
3	0.2697	5915544	imp_imap_acl::singleton( )	../acl.php:42
4	0.2698	5916096	imp_imap_acl::factory( )	../ACL.php:82
5	0.2737	6048288	imp_imap_acl_rfc2086-&gt;imp_imap_acl_rfc2086( )	../ACL.php:55
6	0.2737	6048376	imap_acl_rfc2086::imap_acl_rfc2086( )	../rfc2086.php:46
7	0.2737	6049344	imp_imap_acl_rfc2086-&gt;_getcapability( )	../rfc2086.php:77
8	0.2744	6049424	imp_imap_acl_rfc2086-&gt;_internallogin( )	../rfc2086.php:223

( ! ) Notice: Undefined variable: txid in /srv/www/htdocs/horde/framework/IMAP/IMAP/ACL/rfc2086.php on line 481
Call Stack
#	Time	Memory	Function	Location
1	0.0014	62520	{main}( )	../prefs.php:0
2	0.2609	5651000	require( &#039;/srv/www/htdocs/horde/imp/acl.php&#039; )	../prefs.php:57
3	0.2697	5915544	imp_imap_acl::singleton( )	../acl.php:42
4	0.2698	5916096	imp_imap_acl::factory( )	../ACL.php:82
5	0.2737	6048288	imp_imap_acl_rfc2086-&gt;imp_imap_acl_rfc2086( )	../ACL.php:55
6	0.2737	6048376	imap_acl_rfc2086::imap_acl_rfc2086( )	../rfc2086.php:46
7	0.2737	6049344	imp_imap_acl_rfc2086-&gt;_getcapability( )	../rfc2086.php:77
8	0.2744	6049424	imp_imap_acl_rfc2086-&gt;_internallogin( )	../rfc2086.php:223

( ! ) Notice: Undefined variable: login in /srv/www/htdocs/horde/framework/IMAP/IMAP/ACL/rfc2086.php on line 484
Call Stack
#	Time	Memory	Function	Location
1	0.0014	62520	{main}( )	../prefs.php:0
2	0.2609	5651000	require( &#039;/srv/www/htdocs/horde/imp/acl.php&#039; )	../prefs.php:57
3	0.2697	5915544	imp_imap_acl::singleton( )	../acl.php:42
4	0.2698	5916096	imp_imap_acl::factory( )	../ACL.php:82
5	0.2737	6048288	imp_imap_acl_rfc2086-&gt;imp_imap_acl_rfc2086( )	../ACL.php:55
6	0.2737	6048376	imap_acl_rfc2086::imap_acl_rfc2086( )	../rfc2086.php:46
7	0.2737	6049344	imp_imap_acl_rfc2086-&gt;_getcapability( )	../rfc2086.php:77
8	0.2744	6049424	imp_imap_acl_rfc2086-&gt;_internallogin( )	../rfc2086.php:223
</description> 
   <pubDate>Wed, 28 Jul 2010 16:48:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59490</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Bug: 9058
Ne</title> 
   <description>Changes have been made in CVS for this ticket:

Bug: 9058
Next back of variable fixups.
Fixing this old IMAP code makes my realize how grateful I am that we now have
a fully encapsulated, robust IMAP library.  No need to hack all this IMAP
connection stuff anymore.
http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horde&amp;r1=1.6.8.22&amp;r2=1.6.8.23&amp;ty=u</description> 
   <pubDate>Wed, 28 Jul 2010 16:56:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59491</link> 
  </item> 
   
  <item> 
   <title>Those issues have now been fixed.  Fingers crossed.</title> 
   <description>Those issues have now been fixed.  Fingers crossed.</description> 
   <pubDate>Wed, 28 Jul 2010 16:56:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59492</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Make sure to</title> 
   <description>Changes have been made in CVS for this ticket:

Make sure to always read the complete IMAP response, now that we re-use the
IMAP stream and don&#039;t close it after each operation (Bug #9058).
Still slow like hell.
http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horde&amp;r1=1.6.8.23&amp;r2=1.6.8.24&amp;ty=u</description> 
   <pubDate>Wed, 28 Jul 2010 17:44:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59493</link> 
  </item> 
   
  <item> 
   <title>Works now, thanks.</title> 
   <description>Works now, thanks.</description> 
   <pubDate>Wed, 28 Jul 2010 21:09:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t59501</link> 
  </item> 
   
  <item> 
   <title>&gt; Works now, thanks.

Sorry, does not work at my setup, te</title> 
   <description>&gt; Works now, thanks.

Sorry, does not work at my setup, tested this with dovecot 2.03
and newest Webmail (imp)  H3 (4.3.8) by upgrade from yesterday stable release
i see you have changed the code but its not working
message is server does not support folder sharing, can you double check this ?
also by code change my workaround does not longer work
any hints how do a better debug or parameter may changed i have to set new?
additional info imap acl is working with thunderbird imap acl add_on 
Regards</description> 
   <pubDate>Thu, 30 Sep 2010 08:44:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60215</link> 
  </item> 
   
  <item> 
   <title>&gt; Sorry, does not work at my setup, tested this with dovecot</title> 
   <description>&gt; Sorry, does not work at my setup, tested this with dovecot 2.03

Where in the code (framework/IMAP/IMAP/ACL/rfc2086.php) is it failing?

I personally don&#039;t have the time to devote any more time to tracking this down, especially since this is not an issue in IMP 5 and because this can also be fixed easily at the dovecot level by simply adding the ACL capability strings to the capability returned by dovecot pre-auth.</description> 
   <pubDate>Fri, 01 Oct 2010 06:45:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60229</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Sorry, does not work at my setup, tested this with doveco</title> 
   <description>&gt;&gt; Sorry, does not work at my setup, tested this with dovecot 2.03
&gt;
&gt; Where in the code (framework/IMAP/IMAP/ACL/rfc2086.php) is it failing?

sorry i will have a look in horde log, perhaps i might find something there and report
&gt;
&gt; I personally don&#039;t have the time to devote any more time to tracking 
&gt; this down, especially since this is not an issue in IMP 5 and because 

no Problem installing imp5 from cvs unless it doesnt brake something
with the current horde stable code, after all i would install all from cvs , if there would be a good description how to do that ( cant find ), or better way a snapshot release from cvs upcomming
horde groupware with imp5 horde 4 etc should be on the net, also would be good for testing

&gt; this can also be fixed easily at the dovecot level by simply adding 
&gt; the ACL capability strings to the capability returned by dovecot 
&gt; pre-auth.

i will ask Timo about that but my last info was that this is is selective
so you have to insert all capability  you want to use later
if that is still true , this is an ugly workaround, which might leads brake other stuff
if its enough to insert capability acl only in pre auth, its acceptable
as there might be other buggy clients around
do you have a link or mail with a description from Timo ( dovecot developer )
where he describes this expliciet way ?</description> 
   <pubDate>Fri, 01 Oct 2010 07:27:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60234</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Sorry, does not work at my setup, tested this with doveco</title> 
   <description>&gt;&gt; Sorry, does not work at my setup, tested this with dovecot 2.03
&gt;
&gt; Where in the code (framework/IMAP/IMAP/ACL/rfc2086.php) is it failing?
&gt;
&gt; I personally don&#039;t have the time to devote any more time to tracking 
&gt; this down, especially since this is not an issue in IMP 5 and because 
&gt; this can also be fixed easily at the dovecot level by simply adding 
&gt; the ACL capability strings to the capability returned by dovecot 
&gt; pre-auth.

tested this dont work ,see timos and mine conversation about starting this bug and how to
manipulate capability,
horde 3.9 still does not report folder sharing, no debug logs what might happen apear
so i dont see this as resolved, guess your code is buggy and there is no workaround yet
so i might revert my horde install where my code workaround posted
did worked
http://comments.gmane.org/gmane.mail.imap.dovecot/47967

</description> 
   <pubDate>Fri, 01 Oct 2010 09:23:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60238</link> 
  </item> 
   
  <item> 
   <title>&gt; http://comments.gmane.org/gmane.mail.imap.dovecot/47967
</title> 
   <description>&gt; http://comments.gmane.org/gmane.mail.imap.dovecot/47967

This is not the correct way to fix.

And this code *does* work, because it has been tested by at least two different developers.  So the question is why is it not working on your system, and you are the only one in the position to help us out with that.</description> 
   <pubDate>Fri, 01 Oct 2010 19:15:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60251</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; http://comments.gmane.org/gmane.mail.imap.dovecot/47967
</title> 
   <description>&gt;&gt; http://comments.gmane.org/gmane.mail.imap.dovecot/47967
&gt;
&gt; This is not the correct way to fix.
&gt;
&gt; And this code *does* work, because it has been tested by at least two 
&gt; different developers.  So the question is why is it not working on 
&gt; your system, and you are the only one in the position to help us out 
&gt; with that.

sorry i cant find something
in horde log , ( full error ph log is enabled ) but i will help to find out whats going wrong
describe how to debug the problem

acl imap work on my setup with thunderbird and acl extension
so its not a  server problem,the server entries were not changed at upgrade so the only logical solution 
seems that the problem is on the client side</description> 
   <pubDate>Sat, 02 Oct 2010 18:46:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60253</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; http://comments.gmane.org/gmane.mail.imap.dovecot/47967</title> 
   <description>&gt;&gt;&gt; http://comments.gmane.org/gmane.mail.imap.dovecot/47967
&gt;&gt;
&gt;&gt; This is not the correct way to fix.
&gt;&gt;
&gt;&gt; And this code *does* work, because it has been tested by at least two
&gt;&gt; different developers.  So the question is why is it not working on
&gt;&gt; your system, and you are the only one in the position to help us out
&gt;&gt; with that.
&gt;
&gt; sorry i cant find something
&gt; in horde log , ( full error ph log is enabled ) but i will help to 
&gt; find out whats going wrong
&gt; describe how to debug the problem
&gt;
&gt; acl imap work on my setup with thunderbird and acl extension
&gt; so its not a  server problem,the server entries were not changed at 
&gt; upgrade so the only logical solution
&gt; seems that the problem is on the client side

i did this as temp workaround in rfc2086.php


       if (substr($this-&gt;_params[&#039;protocol&#039;], 0, 4) != &#039;imap&#039;) {
            /* No point in going any further if it&#039;s not an IMAP server. */
//            $this-&gt;_error = PEAR::raiseError(_(&quot;Only IMAP servers support shared folders.&quot;));
            $this-&gt;_supported = true;
        } 
        
        //else {
         //   $this-&gt;_caps = $this-&gt;_getCapability();
           // if (is_a($this-&gt;_caps, &#039;PEAR_Error&#039;)) {
             //   $this-&gt;_error = $this-&gt;_caps;
               // return;
            //}

            /* If we couldn&#039;t get the server&#039;s capability, assume ACL is
             * not supported for now. */
            $this-&gt;_supported = true;
        //}

as i have loadbalanced servers i will let stay the other install in orginal, so testing
is no Problem with the orginal code be easy switching servers</description> 
   <pubDate>Sat, 02 Oct 2010 19:41:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60254</link> 
  </item> 
   
  <item> 
   <title>I just wanted to confirm that things are working fine with t</title> 
   <description>I just wanted to confirm that things are working fine with the latest Horde Webmail Edition and Dovecot 2.0.5</description> 
   <pubDate>Wed, 06 Oct 2010 00:18:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60279</link> 
  </item> 
   
  <item> 
   <title>A bit more info.
ACLs have to be defined somewhere else sin</title> 
   <description>A bit more info.
ACLs have to be defined somewhere else since Horde doesn&#039;t support managing rights, but after having defined some rights in Thunderbird, the shared folder will automagically appear and it&#039;s possible to browse all shared folders.
There is no need to define any acl property in servers.php</description> 
   <pubDate>Wed, 06 Oct 2010 05:58:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60283</link> 
  </item> 
   
  <item> 
   <title>I&#039;ve tried this &quot;fix&quot; and it works. Horde can manage folder </title> 
   <description>I&#039;ve tried this &quot;fix&quot; and it works. Horde can manage folder rights :). I didn&#039;t know it was able to do so.


&gt;
&gt; i did this as temp workaround in rfc2086.php
&gt;
&gt;
&gt;        if (substr($this-&gt;_params[&#039;protocol&#039;], 0, 4) != &#039;imap&#039;) {
&gt;             /* No point in going any further if it&#039;s not an IMAP server. */
&gt; //            $this-&gt;_error = PEAR::raiseError(_(&quot;Only IMAP servers 
&gt; support shared folders.&quot;));
&gt;             $this-&gt;_supported = true;
&gt;         }
&gt;
&gt;         //else {
&gt;          //   $this-&gt;_caps = $this-&gt;_getCapability();
&gt;            // if (is_a($this-&gt;_caps, &#039;PEAR_Error&#039;)) {
&gt;              //   $this-&gt;_error = $this-&gt;_caps;
&gt;                // return;
&gt;             //}
&gt;
&gt;             /* If we couldn&#039;t get the server&#039;s capability, assume ACL is
&gt;              * not supported for now. */
&gt;             $this-&gt;_supported = true;
&gt;         //}
&gt;
&gt; as i have loadbalanced servers i will let stay the other install in 
&gt; orginal, so testing
&gt; is no Problem with the orginal code be easy switching servers
</description> 
   <pubDate>Wed, 06 Oct 2010 06:25:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60284</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;ve tried this &quot;fix&quot; and it works. Horde can manage folde</title> 
   <description>&gt; I&#039;ve tried this &quot;fix&quot; and it works. Horde can manage folder rights 
&gt; :). I didn&#039;t know it was able to do so.

yes but it should work without this ugly fix</description> 
   <pubDate>Wed, 06 Oct 2010 06:48:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60285</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Bug: 9058
Ca</title> 
   <description>Changes have been made in CVS for this ticket:

Bug: 9058
Catch untagged responses after login and discard.
http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horder1=1.6.8.25r2=1.6.8.26ty=u</description> 
   <pubDate>Thu, 07 Oct 2010 07:59:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60307</link> 
  </item> 
   
  <item> 
   <title>Fixed in Horde 3.3.10.</title> 
   <description>Fixed in Horde 3.3.10.</description> 
   <pubDate>Thu, 07 Oct 2010 08:00:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60308</link> 
  </item> 
   
  <item> 
   <title>This URL doesn&#039;t resolve for some reason

&gt; Changes have b</title> 
   <description>This URL doesn&#039;t resolve for some reason

&gt; Changes have been made in CVS for this ticket:
&gt;
&gt; Bug: 9058
&gt; Catch untagged responses after login and discard.
&gt; http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horder1=1.6.8.25r2=1.6.8.26ty=u
</description> 
   <pubDate>Thu, 07 Oct 2010 11:20:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60314</link> 
  </item> 
   
  <item> 
   <title>&gt; This URL doesn&#039;t resolve for some reason
&gt;
&gt;&gt; Changes ha</title> 
   <description>&gt; This URL doesn&#039;t resolve for some reason
&gt;
&gt;&gt; Changes have been made in CVS for this ticket:
&gt;&gt;
&gt;&gt; Bug: 9058
&gt;&gt; Catch untagged responses after login and discard.
&gt;&gt; http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horder1=1.6.8.25r2=1.6.8.26ty=u

The &#039;&amp;&#039; characters are missing from this URL. The correct URL is:

http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horde&amp;r1=1.6.8.25&amp;r2=1.6.8.26&amp;ty=u

This started happening somewhere around the end of August. Since then, all links for CVS have their &#039;&amp;&#039; stripped.</description> 
   <pubDate>Thu, 07 Oct 2010 11:30:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60315</link> 
  </item> 
   
  <item> 
   <title>Thank you!

&gt;
&gt; The &#039;&amp;&#039; characters are missing from this </title> 
   <description>Thank you!

&gt;
&gt; The &#039;&amp;&#039; characters are missing from this URL. The correct URL is:
&gt;
&gt; http://cvs.horde.org/diff.php/framework/IMAP/IMAP/ACL/Attic/rfc2086.php?rt=horde&amp;r1=1.6.8.25&amp;r2=1.6.8.26&amp;ty=u
&gt;
&gt; This started happening somewhere around the end of August. Since 
&gt; then, all links for CVS have their &#039;&amp;&#039; stripped.
</description> 
   <pubDate>Thu, 07 Oct 2010 11:31:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60316</link> 
  </item> 
   
  <item> 
   <title>Hi,
tested the your diff from git(cvs)
it works now, but m</title> 
   <description>Hi,
tested the your diff from git(cvs)
it works now, but my tests show that acls of folders named i.e with -
like test-1 etc cant be displayed, not sure if it ever worked, any idea?
Regards</description> 
   <pubDate>Tue, 12 Oct 2010 15:23:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60368</link> 
  </item> 
   
  <item> 
   <title>&gt; Hi,
&gt; tested the your diff from git(cvs)
&gt; it works now,</title> 
   <description>&gt; Hi,
&gt; tested the your diff from git(cvs)
&gt; it works now, but my tests show that acls of folders named i.e with -
&gt; like test-1 etc cant be displayed, not sure if it ever worked, any idea?
&gt; Regards

Ok i found the bug,
a folder named test-1 must be quoted
( whatever ist the problem to quote all folders ? )

the workaround (problem ) is
in rfc2086.php

the preg_match \W is not save ( save here means working or not ) to use in any setup cause it depends to the servers config
therefor it should be avoided ( google for that )


[^A-Za-z0-9] should match any symbol not a letter or number
so it might be a workaround

i am no php hacker and i dont know if these brakes other functions or security anyway
but it should not be a big thing for horde coders to review and fix this bug
so the ticket is definite not resolved yet ( unless it has no or minor connect to the starting bug thread )



/**
     * Attempts to retrieve the existing ACL for a folder from the current
     * IMAP server.
     *
     * NB: if Auth_SASL is not installed this function will send the users
     * password to the IMAP server as plain text!!
     * 
     * @param string folder  The folder to get the ACL for.
     *
     * @return array  A hash containing information on the ACL.
     * &lt;pre&gt;
     * Array (
     *   user =&gt; Array (
     *     right =&gt; 1
     *   )
     * )
     * &lt;/pre&gt;
     */
    function getACL($folder)
    {
        /* Quote the folder string if it contains non alpha-numeric
           characters. */
    
  //  if (preg_match(&#039;/\W/&#039;,$folder)) {
        if (preg_match(&#039;[^A-Za-z0-9]&#039;,$folder)) {   

         $folder = &#039;&quot;&#039; . $folder . &#039;&quot;&#039;;
       }

</description> 
   <pubDate>Wed, 13 Oct 2010 13:29:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60395</link> 
  </item> 
   
  <item> 
   <title>&gt; Ok i found the bug,
&gt; a folder named test-1 must be quote</title> 
   <description>&gt; Ok i found the bug,
&gt; a folder named test-1 must be quoted

See Bug #9299</description> 
   <pubDate>Tue, 19 Oct 2010 18:04:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9058#t60458</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
