mikedeboer/jsDAV — Issue #30: inconsistencies between windows and linux versions of node running jsDAV
Author: drahgon55
Created: 2012-01-14 20:04:40+00:00
State: open

jsDAV returns different results when obtaining a list of all files in the mount directory. I have tested this using both an HTTP GET and using PROPFIND. Below is an example of the difference in jsDAV running on node for linux and node for windows(native node binary NOT cygwin)

Linux example:
webdav directory: "/media/internal"
files in /media/internal: file1, file2
GET result:
file1 < type> < size>
file2 < type> < size>

Windows example:
webdav directory: "/Document and Settiings/user/My Documents"
files in /Document and Settiings/user/My Documents: file1, file2
GET result:
/Document and Settiings/user/My Documents/file1 < type> < size>
/Document and Settiings/user/My Documents/file2 < type> < size>

when a link is clicked (say file1 link) in the windows versions the link directs to
"/Document and Settiings/user/My Documents\Document and Settiings\user\My Documents\file"

instead of : "/Document and Settiings/user/My Documents/file"

In the linux version the mount directory is referenced as "/" so really clicking the file1 link in windows to be consistent with the linux version should direct to "/file1 "