Fix JMAP: filter: null rejected as notRequest on /query and /queryChanges

This commit is contained in:
Maurus Decimus
2026-06-18 15:43:18 +02:00
parent ced0375114
commit 42d0dcf88c
2 changed files with 17 additions and 2 deletions

View File

@@ -17,7 +17,8 @@ If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If
## Fixed
- JMAP:
- Default calendars and address books are not subscribed by default.
- Do not reject an unchanged immutable `id` property.
- Unchanged immutable `id` property is rejected on `/set`.
- `filter: null` rejected as `notRequest` on `/query` and `/queryChanges`.
- OIDC: Add default domain name to groups that are not email addresses.
- RocksDB: Enable blob garbage collection to reclaim disk space from deleted blobs.

View File

@@ -195,6 +195,20 @@ where
write!(formatter, "a filter object")
}
fn visit_unit<E>(self) -> Result<(), E>
where
E: de::Error,
{
Ok(())
}
fn visit_none<E>(self) -> Result<(), E>
where
E: de::Error,
{
Ok(())
}
fn visit_map<V>(self, mut map: V) -> Result<(), V::Error>
where
V: MapAccess<'de>,
@@ -261,7 +275,7 @@ where
}
}
deserializer.deserialize_map(FilterVisitor(self.0))
deserializer.deserialize_any(FilterVisitor(self.0))
}
}