View Issue Details

IDProjectCategoryView StatusLast Update
0002618SOGoBackend Generalpublic2014-03-07 01:09
Reporterwesley Assigned Toludovic  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformAnyOSAny that uses memcachedOS VersionAny
Product Version2.1.1b 
Fixed in Version2.2.0 
Summary0002618: UIDField is not encoded when cached
Description

memcached will not allow any keys (UIDField) with a space in it. For example: When attempting to assign calendar permissions (ACL) to a group that contains a space in the name (Domain Users for example) the users in the group are not given the permission or subscribed to the calendar.

Steps To Reproduce

Create a LDAP user or group that contains a CN with a space in it.
Set the UIDField to CN.
Try to assign permissions or add calendars as the user or group.
Try to subscribe the user or group to a calendar from another users account.

Additional Information

memcached does not allow control characters, spaces or newline characters as a key. To resolve I recommend encoding the key before caching it and decoding it when it is received from the cache. Either using %20 or \040 for space is a good idea.

TagsNo tags attached.

Activities

ludovic

ludovic

2014-03-07 01:09

administrator   ~0006665

This shouldn't happen anymore with v2.2.0 as we use the binary encoding for keys in memcached.

Issue History

Date Modified Username Field Change
2014-02-26 06:30 wesley New Issue
2014-03-07 01:09 ludovic Note Added: 0006665
2014-03-07 01:09 ludovic Status new => closed
2014-03-07 01:09 ludovic Assigned To => ludovic
2014-03-07 01:09 ludovic Resolution open => fixed
2014-03-07 01:09 ludovic Fixed in Version => 2.2.0