diff --git a/source/tools/dav.ts b/source/tools/dav.ts index 74c4ac6c..75732b66 100644 --- a/source/tools/dav.ts +++ b/source/tools/dav.ts @@ -76,7 +76,8 @@ export function parseXML(xml: string): Promise { return new Promise(resolve => { const result = xmlParser.parse(xml, { arrayMode: false, - ignoreNameSpace: true + ignoreNameSpace: true, + parseTrueNumberOnly: true // // We don't use the processors here as decoding is done manually // // later on - decoding early would break some path checks. // attrValueProcessor: val => decodeHTMLEntities(decodeURIComponent(val)),