Merging Jeff's fixes from HEAD.fix the parse to get the lock token, return size 0 for null content length, urldecode the Destination header. make some ns_log notices debug. flip size and filename for the cr_import_content call (this was already done I thought, can'thurt to make sure)
fix the parse to get the lock token, return size 0 for null content length,urldecode the Destination header. make some ns_log notices debug.flip size and filename for the cr_import_content call.
don't attempt to apply any tdav filters in case no tdav/shares are set up in the config file (ns_configsection returning the empty string). This avoids an error message