View Issue Details

IDProjectCategoryView StatusLast Update
0005462SOGoBackend Address Bookpublic2022-01-20 22:10
Reporterrschuetz Assigned Tofrancis  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version5.5.1 
Summary0005462: Entity tag missing in CardDAV global address book REPORT
Description

SOGo does not return an entity tag for address object resources in a CardDAV REPORT for global address books. This violates section 6.3.2.3 of RFC 6352 ("The DAV:getetag property MUST be defined and set to a strong entity tag on all address object resources.").

Request:

REPORT /SOGo/dav/user/Contacts/addressbook HTTP/1.1
<?xml version="1.0" encoding="utf-8"?>
<C:addressbook-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav">
    <D:prop>
        <D:getetag/>
        <C:address-data/>
    </D:prop>
    <D:href>/SOGo/dav/user/Contacts/addressbook/alice</D:href>
    <D:href>/SOGo/dav/user/Contacts/addressbook/bob</D:href>
</C:addressbook-multiget>

Response:

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav"><D:response><D:href>/SOGo/dav/user/Contacts/addressbook/alice</D:href><D:propstat><D:prop><C:address-data>BEGIN:VCARD
[…]
END:VCARD</C:address-data></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat><D:propstat><D:prop><D:getetag/></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D:href>/SOGo/dav/user/Contacts/addressbook/bob</D:href><D:propstat><D:prop><C:address-data>BEGIN:VCARD
[…]
END:VCARD</C:address-data></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat><D:propstat><D:prop><D:getetag/></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response></D:multistatus>
Additional Information

An entity tag is generated for the PROPFIND method.

Request:

PROPFIND /SOGo/dav/user/Contacts/addressbook HTTP/1.1
<?xml version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
    <D:prop>
        <D:getetag/>
    </D:prop>
</D:propfind>

Response:

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"><D:response><D:href>/SOGo/dav/user/Contacts/addressbook/alice</D:href><D:propstat><D:status>HTTP/1.1 200 OK</D:status><D:prop><D:getetag>hash186017890</D:getetag></D:prop></D:propstat></D:response><D:response><D:href>/SOGo/dav/user/Contacts/addressbook/bob</D:href><D:propstat><D:status>HTTP/1.1 200 OK</D:status><D:prop><D:getetag>hash190658173</D:getetag></D:prop></D:propstat></D:response></D:multistatus>
TagsNo tags attached.

Activities

francis

francis

2022-01-19 21:29

administrator   ~0015794

Do you use domains in your sogo.conf?

rschuetz

rschuetz

2022-01-20 07:23

reporter   ~0015797

Multi-domain configuration is not used.

Related Changesets

sogo: master 940394d4

2022-01-20 17:06

francis


Details Diff
fix(addressbook(dav)): return all value of all properties

Fixes 0005462
Affected Issues
0005462
mod - SoObjects/Contacts/SOGoContactSourceFolder.m Diff File

Issue History

Date Modified Username Field Change
2022-01-13 13:29 rschuetz New Issue
2022-01-19 21:29 francis Note Added: 0015794
2022-01-20 07:23 rschuetz Note Added: 0015797
2022-01-20 22:08 francis Changeset attached => sogo master 940394d4
2022-01-20 22:08 francis Assigned To => francis
2022-01-20 22:08 francis Resolution open => fixed
2022-01-20 22:10 francis Status new => resolved
2022-01-20 22:10 francis Fixed in Version => 5.5.1