mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
parse_propfind: bugfix
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user