Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0001957SOGoBackend Address Bookpublic2012-09-04 18:58
Reporterl0n3star Assigned Tofrancis  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.3.17 
Fixed in Version1.3.18a 
Summary0001957: Can't use CardDAV with Addressbook of Mac OS X 10.8
Description

When trying to connect to a SOGo server with CardDAV and Addressbook of Mac OS X 10.8 aka Mountain Lion, this fails.

In the SOGo logs, there is something like:

[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Mac OS X/10.8.1 (12B19) AddressBook/1143'

There are some other issues like 0001913 with similar problems (Calender there). So the user-agent string has changed in 10.8 and SOGo refuses as unknown web client.

Edited SoObjects/SOGo/WORequest+SOGo.m and changed isMacOSXAddressBookApp to:

  • (BOOL) isMacOSXAddressBookApp
    {
    WEClientCapabilities *cc;
    BOOL b;

    cc = [self clientCapabilities];

    b = [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound;

    return b;
    }

This fixes the problem for me...

TagsNo tags attached.

Relationships

related to 0001913 resolvedfrancis Unknown WebClient 

Activities

perelandra

perelandra

2012-09-04 09:16

reporter   ~0004417

Can confirm the problem! Please update the source code asap. Thank you!

francis

francis

2012-09-04 15:41

administrator   ~0004429

You're missing the case (CFNetwork && Darwin).

Issue History

Date Modified Username Field Change
2012-08-24 19:32 l0n3star New Issue
2012-09-04 09:16 perelandra Note Added: 0004417
2012-09-04 15:41 francis Note Added: 0004429
2012-09-04 17:04 francis Relationship added related to 0001913
2012-09-04 18:58 francis Status new => resolved
2012-09-04 18:58 francis Fixed in Version => 1.3.18a
2012-09-04 18:58 francis Resolution open => fixed
2012-09-04 18:58 francis Assigned To => francis