parse_propfind: bugfix

This commit is contained in:
Lennart
2024-03-14 13:01:04 +01:00
parent 8ccddb635c
commit bed64796b3

View File

@@ -58,6 +58,7 @@ pub fn parse_propfind(body: &str) -> Result<Vec<&str>, Error> {
match prop_node.tag_name().name() {
"prop" => Ok(prop_node
.children()
.filter(|node| node.is_element())
.map(|node| node.tag_name().name())
.collect()),
_ => Err(Error::InvalidPropfind(