fix: deny_unknown_fields also forbids xmlns attributes

This commit is contained in:
Lennart
2024-11-06 17:52:07 +01:00
parent b98058a7ff
commit eebed51aec

View File

@@ -17,7 +17,6 @@ use tracing_actix_web::RootSpan;
#[derive(Deserialize, Clone, Debug)] #[derive(Deserialize, Clone, Debug)]
#[serde(rename_all = "kebab-case")] #[serde(rename_all = "kebab-case")]
#[serde(deny_unknown_fields)]
struct PropfindElement { struct PropfindElement {
#[serde(rename = "$value")] #[serde(rename = "$value")]
prop: PropfindType, prop: PropfindType,