[Tickets #6251] bad encoding when we try to retrieve share

bugs at horde.org bugs at horde.org
Tue Feb 12 14:12:15 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/?id=6251
-----------------------------------------------------------------------
 Ticket             | 6251
 Created By         | mrousseau at ate.tm.fr
 Summary            | bad encoding when we try to retrieve share
 Queue              | Kronolith
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


mrousseau at ate.tm.fr (2008-02-12 09:12) wrote:

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);



More information about the bugs mailing list