6.0.0-alpha14
7/2/25

[#6251] bad encoding when we try to retrieve share
Summary bad encoding when we try to retrieve share
Queue Kolab
Type Bug
State Resolved
Priority 2. Medium
Owners wrobel (at) horde (dot) org
Requester mrousseau (at) ate (dot) tm (dot) fr
Created 02/12/2008 (6350 days ago)
Due
Updated 12/29/2008 (6029 days ago)
Assigned 04/16/2008 (6286 days ago)
Resolved 12/29/2008 (6029 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/29/2008 05:58:29 AM Gunnar Wrobel Comment #5
State ⇒ Resolved
Reply to this comment
I checked HEAD again and this works fine there. So I assume this has 
been fixed in the meanwhile. You can also check the newer Kolab Server 
release - it should work there.
04/16/2008 06:06:43 PM Chuck Hagenbuch State ⇒ Assigned
 
03/12/2008 10:12:39 AM mrousseau (at) ate (dot) tm (dot) fr Comment #4 Reply to this comment
We use the version provided with Kolab 2.2 RC1 (I think it's the alpha)
I need some more information concerning the versions of the different
Horde parts you have installed. If you used versions somewhere
between RC1 and RC2 I'd suggest to update to CVS HEAD and check if
the problem persists.
03/12/2008 07:19:24 AM Gunnar Wrobel Comment #3
State ⇒ Feedback
Reply to this comment
I need some more information concerning the versions of the different 
Horde parts you have installed. If you used versions somewhere between 
RC1 and RC2 I'd suggest to update to CVS HEAD and check if the problem 
persists.
02/12/2008 03:05:55 PM Jan Schneider Assigned to Gunnar Wrobel
State ⇒ Assigned
 
02/12/2008 03:05:46 PM Jan Schneider Version ⇒
Queue ⇒ Kolab
 
02/12/2008 02:35:22 PM mrousseau (at) ate (dot) tm (dot) fr Comment #2 Reply to this comment

[Show Quoted Text - 13 lines]
it's needing to add too :

$category = str_replace('+' , '%20' , $category);

after urlencode to manage space in folder name


02/12/2008 02:12:15 PM mrousseau (at) ate (dot) tm (dot) fr Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ bad encoding when we try to retrieve share
Queue ⇒ Kronolith
State ⇒ Unconfirmed
Reply to this comment
kronolith/perms.php



  $share = &$shares->getShare($category);



seems to not encode correctly $category, so when we try to build the 
list of share in  lib/Horde/Share/kolab.php :

line 128 : "if (!in_array($object, $shares)) {" failed because it try 
to compare in my test :  INBOX/ESSAI with INBOX%2FESSAI



crude hack in perms.php before :

$share = &$shares->getShare($category);

put :

$category=urlencode($category);

Saved Queries