security(quick-xml): bump version to 0.41.0
- and protect amount of properties - azure_core 0.21.0 is using quick-xml 0.31.0 which is Dos-able azure_core is no more maintained, would migrte to official azure lib later
This commit is contained in:
@@ -96,7 +96,9 @@ impl CalDavAdapter {
|
||||
for attr in e.attributes().flatten() {
|
||||
let attr_name =
|
||||
std::str::from_utf8(attr.key.as_ref()).unwrap_or("");
|
||||
let attr_value = attr.unescape_value().unwrap_or_default();
|
||||
let attr_value = attr
|
||||
.normalized_value(quick_xml::XmlVersion::Implicit1_0)
|
||||
.unwrap_or_default();
|
||||
|
||||
if attr_name == "start" {
|
||||
// Parse ISO date format with Z for UTC
|
||||
@@ -161,7 +163,9 @@ impl CalDavAdapter {
|
||||
// Parse time-range attributes
|
||||
for attr in e.attributes().flatten() {
|
||||
let attr_name = std::str::from_utf8(attr.key.as_ref()).unwrap_or("");
|
||||
let attr_value = attr.unescape_value().unwrap_or_default();
|
||||
let attr_value = attr
|
||||
.normalized_value(quick_xml::XmlVersion::Implicit1_0)
|
||||
.unwrap_or_default();
|
||||
|
||||
if attr_name == "start" {
|
||||
// Parse ISO date format with Z for UTC
|
||||
|
||||
Reference in New Issue
Block a user