You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that many properties which should not be returned according to RFC 4791 are returned in an allprop request.
These properties "SHOULD NOT" be returned according to RFC 4791:
supported-calendar-data
supported-calendar-component-set
max-resource-size
calendar-description
I am not sure whether current-user-principal should be returned in allprop. But it seems it should not since https://datatracker.ietf.org/doc/html/rfc4918#section-14.2 states that only properties defined in RFC4918 should be returned.
Note: The CALDAV:calendar-data XML element is specified in requests
and responses inside the DAV:prop XML element as if it were a
WebDAV property. However, the CALDAV:calendar-data XML element is
not a WebDAV property and, as such, is not returned in PROPFIND
responses, nor used in PROPPATCH requests.
The text was updated successfully, but these errors were encountered:
barkyq
changed the title
PROPFIND with allprop returns many properties which should not be returned
caldav: PROPFIND with allprop returns many properties which should not be returned
Jan 12, 2025
It appears that many properties which should not be returned according to RFC 4791 are returned in an allprop request.
These properties "SHOULD NOT" be returned according to RFC 4791:
supported-calendar-data
supported-calendar-component-set
max-resource-size
calendar-description
I am not sure whether
current-user-principal
should be returned in allprop. But it seems it should not since https://datatracker.ietf.org/doc/html/rfc4918#section-14.2 states that only properties defined in RFC4918 should be returned.Additionally the
calendar-data
"prop" should never be returned in a PROPFIND request; see https://datatracker.ietf.org/doc/html/rfc4791#section-9.6 which states:Here is what happens using a MWE of this library.
client sends PROPFIND with request body:
server responds with:
The text was updated successfully, but these errors were encountered: