Commit 9cec5641 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

RFC 6352 stipulates in section 10.3 that addressbook-query must have a filter, even an empty one

parent 2e62153e
......@@ -627,7 +627,7 @@ static LinphoneCardDavQuery* linphone_carddav_create_addressbook_query(LinphoneC
query->context = cdc;
query->depth = "1";
query->ifmatch = NULL;
query->body = "<card:addressbook-query xmlns:d=\"DAV:\" xmlns:card=\"urn:ietf:params:xml:ns:carddav\"><d:prop><d:getetag /></d:prop></card:addressbook-query>";
query->body = "<card:addressbook-query xmlns:d=\"DAV:\" xmlns:card=\"urn:ietf:params:xml:ns:carddav\"><d:prop><d:getetag /></d:prop><card:filter></card:filter></card:addressbook-query>";
query->method = "REPORT";
query->url = cdc->friend_list->uri;
query->type = LinphoneCardDavQueryTypeAddressbookQuery;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment