webdav-tulip-2
Advanced tools
Comparing version 1.0.13 to 1.0.14
{ | ||
"name": "webdav-tulip-2", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "WebDAV client for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "source/index.js", |
@@ -69,4 +69,4 @@ var path = require("path"); | ||
console.log(dirPath); | ||
// dirPath = decodeURIComponent(dirPath); | ||
var filename = processDirectoryResultFilename(decodeURIComponent(dirPath), sanitisedFilePath).trim(), | ||
dirPath = decodeURIComponent(dirPath); | ||
var filename = processDirectoryResultFilename(dirPath, sanitisedFilePath).trim(), | ||
resourceType = processXMLStringValue(getOne(props, ["lp1:resourcetype", "d:resourcetype", "D:resourcetype", "resourcetype"])), | ||
@@ -73,0 +73,0 @@ itemType = (resourceType.indexOf("d:collection") >= 0 || resourceType.indexOf("D:collection") >= 0 || resourceType.indexOf("collection") >= 0) ? |
67136