Invalid Value for "timeRange" Filter in CalDav Sync
On my Nextcloud server I see the following requests from users who have configured their GNOME online accounts to synchronize calendar and contacts:
{
"id":"13",
"filters":
{
"name":"VCALENDAR",
"is-not-defined":false,
"comp-filters":
[{
"name":"VEVENT",
"is-not-defined":false,
"comp-filters":[],
"prop-filters":[],
"time-range":false
}],
"prop-filters":[],
"time-range":false
},
"calendarType":0,
"componentType":"VEVENT",
"requirePostFilter":false,
"timeRange":false
}
According to RFC 4791, (https://tools.ietf.org/html/rfc4791#section-9.9) the value false
passed here for timeRange
is not valid. The RFC reads:
Name: time-range
Namespace: urn:ietf:params:xml:ns:caldav
Purpose: Specifies a time range to limit the set of calendar components returned by the server.
Description: [...] The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes MUST be specified as "date with UTC time" value. [...] however, at least one attribute MUST always be present in the CALDAV:time-range element.
(abbreviations by me).